[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] A job which depends on an other job finish



Hi All,

I need to run two jobs in a kind of sequence where the second one (B) should start when the first one (A) is complete. I know about DAG feature, but for some reasons I cannot use it (version 8.8 where python binding does not support DAG, the "dependency scheme" or DAG is not known at time the first job is submitted).
I know ID of A job when submitting B job.
My idea is to submit B job in hold state and run a task in our internal monitoring script in parallel which will wait till A job finishes, then release B job. I think it should work, but it requires the special task/script for waiting, so I am curious if there is an ability to set such dependency directly into the job submit description?
Maybe something like:

periodic_release = ???

Thank you in advance for any hint!
Martin