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

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



Jon,

You're missing in an r in "CurrentTime". If that's a copy/paste of
your expression, that would explain why it's not triggering. If the
spelling is correct in the job ad, does that job show up in a condor_q
constrained by your expression? e.g.

   condor_q -const '((JobStatus==5) && (CurrentTime
-EnteredCurrentStatus) > 600)'


Thanks,
BC

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/



-- 
Ben Cotton
Technical Marketing Manager

Cycle Computing
Better Answers. Faster.

http://www.cyclecomputing.com
twitter: @cyclecomputing