Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] Master Shutdown From Startd Cron
- Date: Mon, 11 Sep 2017 16:58:40 +0200
- From: Laurence <lfield@xxxxxxx>
- Subject: [HTCondor-users] Master Shutdown From Startd Cron
Hi,
I am setting a boolean variable using a Startd Cron and would like this
to be used in the Master Daemon Shutdown expression. The boolean
variable is MULTICORE_SHUTDOWN and returns either "true" or "false".
The cron is working and I can see the variable being set correctly in
the MachineAd. The Master is shutdown correctly if the shutdown
expression is explicitly set to "true".
MASTER.DAEMON_SHUTDOWN = true
However I have tried the following to include the variable but none seem
to work.
MASTER.DAEMON_SHUTDOWN = ( STARTD_MULTICORE_SHUTDOWN =?= true )
MASTER.DAEMON_SHUTDOWN = ( MULTICORE_SHUTDOWN =?= true )
MASTER.DAEMON_SHUTDOWN = ( MULTICORE_SHUTDOWN == true )
MASTER.DAEMON_SHUTDOWN = ( $(MULTICORE_SHUTDOWN) == true )
What would the correct expression be or is this not possible?
Thanks
Laurence