[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] max. time for a job to run
- Date: Tue, 04 Dec 2007 14:58:46 -0600
- From: Dan Bradley <dan@xxxxxxxxxxxx>
- Subject: Re: [Condor-users] max. time for a job to run
How to prevent a job from running longer than 4 days:
In the job submit file:
periodic_hold = JobStatus == 2 && (CurrentTime - EnteredCurrentStatus) >
Or, if you prefer, you could put this in your condor configuration as
part of a SYSTEM_PERIODIC_HOLD expression.
Santanu Das wrote:
What's the best way to restrict a job to run for certain amount of time
For example, a "max 4-days long" job, I've implemented this:
PREEMPT = ( (Activity == "Busy") && (State ==
"Claimed") && ($(ActivityTimer) > 5760) )
WANT_SUSPEND = FALSE
Is this the right way of doing this?
Thanks in advance for your help.
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: