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

Re: [Condor-users] Disabling the restarting of jobs



> OK one more question:
> 
> With the requirements expression, how might one put this into 
> a config file, so the user could add an expression like
> 
> "+DoNotRestartJob = TRUE"
> 
> to their submit file?
> 
> Clearly I can add
> 
> SHOULD_NOT_RESTART_TRIGGER = ( $(DoNotRestartJob) =?= TRUE ) &&  ( $
> (NumJobStarts) > 0 ) && ( $(JobStatus) == 1 ) 
> SYSTEM_PERIODIC_HOLD = $(SYSTEM_PERIODIC_HOLD) || (  $
> (SHOULD_NOT_RESTART_TRIGGER) )
> 
> But how do I add the requirements line to the central config 
> file for general use?

Does APPEND_REQUIREMENTS do the job ?

JK