[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Not restarting jobs upon eviction.
- Date: Tue, 17 Mar 2015 09:23:47 -0400
- From: Ben Cotton <ben.cotton@xxxxxxxxxxxxxxxxxx>
- Subject: 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)
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.
Better Answers. Faster.