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

Re: [Condor-users] Hibernation expression



Tom,

The "Time of Day" policy example in the condor manual may give you some ideas for how to craft a hibernation _expression_ that suites your needs.

http://www.cs.wisc.edu/condor/manual/v7.4/3_5Policy_Configuration.html#SECTION00459300000000000000

--Dan

On 10/22/10 12:08 PM, Tom T wrote:
Dan,
Thank you for the prompt reply,It works!!. I have one more question.Can I set time to hibernate all the machines through 8pm to 6am?
Thanks
Tom

 


From: Dan Bradley <dan@xxxxxxxxxxxx>
To: condor-users@xxxxxxxxxxx
Sent: Fri, October 22, 2010 12:40:35 PM
Subject: Re: [Condor-users] Hibernation _expression_

Tom,

The HIBERNATE _expression_ must evaluate to a string.  You are setting it to an integer (4 or 0).  Try "4" and "0".

Clearly it would be nice if Condor were more forgiving/helpful in this case.

--Dan

On 10/22/10 11:36 AM, Tom T wrote:

Dear All,
I'm using Windows 7 with Condor 7.5.3 and have tried setting HIBERNATE.
 
when i set in condor_config.local
 
Hibernate=true
Hibernate="S4"

HIBERNATE_CHECK_INTERVAL = 20

It enters to hibernation in 20 seconds ,but it doesn't check if the keyboard and CPU is idle.

 

To check the keyboard and CPU  I set  in condor_config.local

 

Hibernate=true
Hibernate="S4"

HIBERNATE_CHECK_INTERVAL = 20

HibernateState = 4

TimeToWait = (1 * $(Hour))

ShouldHibernate = ( (KeyboardIdle > $(StartIdleTime)) \

&& $(CPUIdle) \ && ($(StateTimer) > $(TimeToWait)) )

HIBERNATE = ifThenElse($(ShouldHibernate), $(HibernateState), 0)

 

BUt the PC stays powered up after the keyboard and CPU is idle for hours.

Has anybody else tried this?

 

Any help much appreciated,

Tom


 



_______________________________________________ Condor-users mailing list To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You can also unsubscribe by visiting https://lists.cs.wisc.edu/mailman/listinfo/condor-users The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/

_______________________________________________ Condor-users mailing list To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You can also unsubscribe by visiting https://lists.cs.wisc.edu/mailman/listinfo/condor-users The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/