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

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



Thanks so much for the responses.

My google-fu seems to always fail me when trying to find answers to
condor questions, and somehow I never think to just.. look at the
manual.

On Tue, Mar 17, 2015 at 09:23:47AM -0400, Ben Cotton wrote:
> 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
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/