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

Re: [HTCondor-users] Force dag to continue after periodic_remove



On Tue, 6 May 2014, ASHIKUZZAMAN IDRISY wrote:

Is there a way to force periodic_remove or something similar, to act like a
success in the eyes of the dag, so that subsequent jobs get completed?

You can add a POST script to your 20 A1... A20 node that turns a periodic remove into a success. You can do something like this in your DAG file:

  Script Post A1 my_test.pl $JOBID

$JOBID will expand to the condor ID of the job.

So then your post script can do a condor_history command on the job -- if JobStatus is 3 that means removed -- I don't know if you can distinguish from a periodic remove vs. a "manual" remove... You may need to do a little digging to figure that out.

Kent Wenger
CHTC Team