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

Re: [HTCondor-users] Periodic_release isn't triggering



Ben,

> You're missing in an r in "CurrentTime".
Well that is embarrassing, but was indeed the issue. Thanks!

Regards,
Jon

>
> On Mon, Apr 10, 2017 at 1:31 PM, Jon Wedell <wedell@xxxxxxxxxxxxx> wrote:
>> Hello,
>>
>> I have a PeriodicRelease expression set for my jobs that doesn't appear
>> to be triggering. This is the periodic release statement:
>>
>> periodic_release = ((JobStatus==5) && (CurentTime -
>> EnteredCurrentStatus) > 600)
>>
>>
>> Here is a job which has been on hold since last Friday:
>>
>> [bbee@exocet ~]$ condor_q -held 97831
>>
>>
>> -- Schedd: exocet.bmrb.wisc.edu : <x.x.x.x:9618?... @ 04/10/17 12:27:17
>>  ID       OWNER          HELD_SINCE  HOLD_REASON
>> 97831.0   bbee            4/7  16:31 The job attribute PeriodicHold
>> expression '( MemoryUsage >= ( ( RequestMemory ) * 3 / 2 ) )' evaluated
>> to TRUE
>>
>>
>> Based on the amount of time passed and the JobStatus I would have
>> expected this job to be released after 10 minutes:
>>
>> [bbee@exocet ~]$ condor_q -xml 97831 | grep JobStatus
>>     <a n="JobStatus"><i>5</i></a>
>>     <a n="LastJobStatus"><i>2</i></a>
>>     <a n="PeriodicRelease"><e>( ( JobStatus == 5 ) &amp;&amp; (
>> CurentTime - EnteredCurrentStatus ) &gt; 600 )</e></a>
>>
>>
>> Thank you for the help.
>>
>>
>> Regards,
>>
>> Jon Wedell
>>
>>
>>
>> _______________________________________________
>> 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/
>
>


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature