Set a program to execute upon condor_master shut down
condor_set_shutdown [-help | -version]
condor_set_shutdown -exec programname [-debug] [-pool centralmanagerhostname[:portnumber]] [ -name hostname | hostname | -addr "<a.b.c.d:port>" | "<a.b.c.d:port>" | -constraint expression | -all ]
condor_set_shutdown sets a program (typically a script) to execute when the condor_master daemon shuts down. The -exec programname argument is required, and specifies the program to run. The string programname must match the string that defines Name in the configuration variable MASTER_SHUTDOWN_<Name> in the condor_master daemon’s configuration. If it does not match, the condor_master will log an error and ignore the request.
For security reasons of authentication and authorization, this command requires ADMINISTRATOR level of access.
condor_set_shutdown will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.
To have all condor_master daemons run the program /bin/reboot upon shut down, configure the condor_master to contain a definition similar to:
where REBOOT is an invented name for this program that the condor_master will execute. On the command line, run
where the string reboot matches the invented name.
Center for High Throughput Computing, University of Wisconsin–Madison
Copyright © 1990-2018 Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. Licensed under the Apache License, Version 2.0.