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

Re: [HTCondor-users] Machine activity for partitionable slots

	Assuming the machines can turn themselves off, you could set


to have the startd shut itself off after an hour idle.  You can then add

MASTER.DAEMON_SHUTDOWN_FAST = ( STARTD_StartTime == 0 ) && ((CurrentTime - DaemonStartTime) > 60)

to have the master shutdown if the startd shuts down, and

DEFAULT_MASTER_SHUTDOWN_SCRIPT = /path/to/shutdown-h-now.sh

to have the master shutting turn off the whole machine. (Or run a script to alert your monitoring system, etc.)

- ToddM