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

Re: [HTCondor-users] Not restarting jobs upon eviction.


The job's `on_exit_remove` command should take care of this. For
example, if he wants the job to be removed unless it exits on its own
with an exit code of 0:

on_exit_remove = (ExitBySignal == True) || (ExitCode != 0)

or perhaps

on_exit_remove = (JobStatus == 1) && (NumJobStarts > 0)

(I prefer the former since it better communicates the intent.)

The condor_submit man page
has more information.


Ben Cotton
main: 888.292.5320

Cycle Computing
Better Answers. Faster.

twitter: @cyclecomputing