Mailing List Archives
Public Access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Removing Held jobs
- Date: Wed, 01 Sep 2010 12:02:04 -0500
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Removing Held jobs
Ian Cottam wrote:
Hi,
In my jobs I'd like any submission that goes to Hold be removed from the queue.
It looks like I should use (in my submit file or with a -append)
periodic_remove = ...
but I'm not sure what to put for the ...
To remove held jobs you could simply do:
periodic_remove = JobStatus == 5
If you wanted to be a bit fancier, here is an example to remove jobs
that have been on hold continuously for more than 2 days:
periodic_remove = (((CurrentTime - EnteredCurrentStatus) > \
(2*24*3600)) && JobStatus == 5)
So part of the magic above is knowing that JobStatus of 5 means "held";
I find the following web page helpful with these sorts of magic
numerical constants:
https://condor-wiki.cs.wisc.edu/index.cgi/wiki?p=MagicNumbers
hope this helps,
regards,
Todd
Any help much appreciated!
-Ian
--------------
Ian Cottam
IT Manager
MIB & School of Materials &
School of Chemical Engineering and Analytical Science
IT Services, Faculty of Engineering and Physical Sciences
The John Garside Building (Room G.002)
The University of Manchester
_______________________________________________
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/
--
Todd Tannenbaum University of Wisconsin-Madison
Center for High Throughput Computing Department of Computer Sciences
tannenba@xxxxxxxxxxx 1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132 Madison, WI 53706-1685