[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] max. time for a job to run
- Date: Thu, 15 Nov 2007 14:22:59 +0000
- From: Santanu Das <santanu@xxxxxxxxxxxxxxxxx>
- Subject: [Condor-users] max. time for a job to run
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.