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

Re: [Condor-users] Automatically terminating a job after x seconds



Try this :
 
 
add  "PERIODIC_REMOVE = ((JobStatus == 2) && ((CurrentTime -
EnteredCurrentStatus) > 100 ))"   line in your submitfile.
 
change value of 100  by whatever your time limit is.
 
Majid
 


On 8/11/07, Matthijs van der Meer <M.vanderMeer@xxxxxxxx> wrote:
As explained here
[https://lists.cs.wisc.edu/archive/condor-users/2007-April/msg00086.shtml ]
nodes can be configured to automatically kill jobs that have been
running for longer than x time.

Is it also possible to submit a job with a similar argument, such that
regardless of what node it is running on, it will be killed if it has
been running longer than some amount of time? I couldn't find anything
like this in the condor_submit manual or the archives, but it would sure
be useful to me.

Thanks!

- Matthijs
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/