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

Re: [Condor-users] how to resrict job run time



On Wed, 25 Oct 2006, Dan Bradley wrote:

>Use periodic_remove or periodic_hold in the job submission file.  See 
>the condor_submit manual for details.
>
>--Dan

I did try that, but found a problem:

Adding the following lines to my submission script do work:

maxRunTime               = 60
periodic_remove = (RemoteWallClockTime > $(maxRunTime))

However, the value for RemoteWallClockTime will only be updated if the job 
is being suspended. Since it sometimes happens that a job runs on a 
machine without being preempted much longer than $(maxRunTime), the 
expression for periodic_remove cannot evaluate to true.

Is there any way to tell Condor to update RemoteWallClockTime more 
frequently?

jens