Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an option that allows to execute any command in a condor job #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jgalan
Copy link
Member

@jgalan jgalan commented Dec 28, 2023

Perhaps it would be better to have a dedicated python script to launch any kind of commands to condor.

I am a bit in a rush and I need this feature, I know it is not the best implementation, but just need to do it to launch the jobs I need right now.

Should be done differently.

The present PR will allow to launch any command to condor without having to use restManager --c.

For example:

python3 restManagerToCondor.py --command "ls -lrth $DUST"

Indeed I am going to use it to launch macros with restManager (but without processing config file):

python3 restManagerToCondor.py --command "restManager GenerateDataSets dataset.rml BabyIAXO_XMM_mm_Vacuum $DUST"

@jgalan jgalan requested a review from lobis December 28, 2023 07:12
@jgalan
Copy link
Member Author

jgalan commented Dec 28, 2023

Probably this PR doesn't need to be merged, but it gives an idea of something that could be useful to implement properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant