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

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/