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

[HTCondor-users] Only Match Machines Idle for > N Seconds



Hi,

I wanted to restrict jobs to only match machines that have been quiet for more 
than 5 minutes, by putting

Requirements = (CurrentTime - EnteredCurrentState > 300)

in my job description. Interestingly, the match is made successfully, but it 
looks like the expression is evaluated again once the match is made and after 
EnteredCurrentState is updated, rendering it false and the job fails to start:

11/04/15 16:49:51 (pid:14409) slot3: Job Requirements check failed!

Does anybody have an idea of a way to accomplish this that would work?

Thanks,
Will