Synopsis
condor_set_shutdown
[-help $|$ -version]
condor_set_shutdown
-exec/SPAN>programname
[-debug]
[-pool
centralmanagerhostname[:portnumber]]
[-name/SPAN>hostname $|$ hostname $|$
-addr/SPAN>"$<$a.b.c.d:port$>$" $|$ "$<$a.b.c.d:port$>$" $|$ -all ]
condor_set_shutdown sets a program (typically a script) to execute
when the condor_master daemon shuts down.
The -exec/SPAN>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 purposes of authentication and authorization,
this command requires the ADMINISTRATOR access level.
See
section 3.6.1 on page
for further explanation.
Exit Status
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.
MASTER_SHUTDOWN_REBOOT = /sbin/rebootwhere REBOOT is an invented name for this program that the condor_master will execute. On the command line, run
% condor_set_shutdown -exec reboot -all % condor_off -graceful -allwhere the string
reboot matches the invented name.
See the Condor Version 7.5.6 or http://www.condorproject.org/license for additional notices.
condor-admin@cs.wisc.edu