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

Re: [HTCondor-users] Job Time Limit



And I guess I should have provided a better hint at syntax for time
evaluations like that also.  Here's an example that will kill and
dequeue a job that is runs for more than an hour.

PeriodicRemove = ( JobStatus == 2 ) && ( ( CurrentTime -
EnteredCurrentStatus ) > 3600 )

On Mon, Oct 13, 2014 at 7:18 AM, Lans Carstensen
<Lans.Carstensen@xxxxxxxxxxxxxx> wrote:
> Look at "periodic_remove" and/or "periodic_hold" in "man
> condor_submit", depending on what you want to have happen to the job.
>
> http://research.cs.wisc.edu/htcondor/manual/current/condor_submit.html
>
> On Mon, Oct 13, 2014 at 5:57 AM, Mostafa.B <bakhtvar@xxxxxxxxx> wrote:
>> Hi,
>>
>> I would like to set a run time limit for jobs submitted to Condor. Lets say
>> I don't want a job to continue running on Condor for more than 1 hour. I
>> would appreciate any help in this regard. My preference is to add a new line
>> in the ".sub" file to specify the time limit.
>>
>> Regards,
>>
>> Mosy
>>
>> _______________________________________________
>> HTCondor-users mailing list
>> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
>> subject: Unsubscribe
>> You can also unsubscribe by visiting
>> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>>
>> The archives can be found at:
>> https://lists.cs.wisc.edu/archive/htcondor-users/