Mailing List Archives
Authenticated access
|
|
|
[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.
Amy,
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
(http://research.cs.wisc.edu/htcondor/manual/v8.2/condor_submit.html)
has more information.
Thanks,
BC
--
Ben Cotton
main: 888.292.5320
Cycle Computing
Better Answers. Faster.
http://www.cyclecomputing.com
twitter: @cyclecomputing