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

[HTCondor-users] Can periodic_release query completed jobs?



Hello,

I'm trying to submit one job and have it depend on another job. I know I can use DAGMan for this, but just for the moment I was hoping I could do it with hold and periodic_release. I submitted a long running job and then tried to submit another one with the following lines in the submit file:

hold = True
periodic_release = (ClusterId == 11) && (JobId == 0) && (JobStatus == 4)

Where 11.0 was the id of the long running job. I wasn't sure if this would work since it's not clear which context JobStatus was evaluated in, and sure enough it didn't, the job stated in the hold state.

Is there any way to achieve what I'd trying to do with periodic_release, or should I just go for DAGMan?

Thanks so much,
Nickolai