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

[Condor-users] Hibernation expression




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