Man page - condor_set_shutdown(1)
Packages contas this manual
- condor_run(1)
- condor_master(1)
- condor_q(1)
- classads(1)
- condor_annex(1)
- condor_check_password(1)
- condor_preen(1)
- condor_vacate(1)
- condor_updates_stats(1)
- condor_install(1)
- condor_on(1)
- gidd_alloc(1)
- condor_procd(1)
- condor_continue(1)
- classad_eval(1)
- condor_wait(1)
- condor_advertise(1)
- get_htcondor(1)
- condor_userprio(1)
- condor_ssh_to_job(1)
- condor_token_list(1)
- condor_qsub(1)
- condor_token_request_approve(1)
- condor_job_router_info(1)
- condor_router_q(1)
- condor_hold(1)
- condor_transform_ads(1)
- condor_release(1)
- condor_suspend(1)
- condor_rmdir(1)
- condor_qedit(1)
- condor_findhost(1)
- condor_upgrade_check(1)
- condor_restart(1)
- condor_token_request_list(1)
- condor_rm(1)
- condor_check_userlogs(1)
- condor_fetchlog(1)
- condor_set_shutdown(1)
- condor_submit(1)
- condor_token_create(1)
- condor_vacate_job(1)
- condor_off(1)
- condor_ping(1)
- condor_chirp(1)
- condor_urlfetch(1)
- condor_router_history(1)
- procd_ctl(1)
- condor_now(1)
- condor_gpu_discovery(1)
- condor_dagman(1)
- condor_reschedule(1)
- condor_who(1)
- condor_version(1)
- condor_userlog(1)
- condor_evicted_files(1)
- condor_token_request_auto_approve(1)
- condor_history(1)
- condor_ssh_start(1)
- condor_prio(1)
- condor_transfer_data(1)
- condor_update_machine_ad(1)
- condor_reconfig(1)
- condor_watch_q(1)
- condor_power(1)
- condor_router_rm(1)
- condor_submit_dag(1)
- condor_tail(1)
- condor_sos(1)
- condor_top(1)
- htcondor(1)
- condor_store_cred(1)
- condor_config_val(1)
- condor_token_request(1)
- condor_pool_job_report(1)
- condor_ssl_fingerprint(1)
- condor_drain(1)
- condor_adstash(1)
- condor_status(1)
- condor_gather_info(1)
- condor_remote_cluster(1)
- condor_stats(1)
- condor_token_fetch(1)
- condor_configure(1)
- condor_test_token(1)
apt-get install condor
Manual
| CONDOR_SET_SHUTDOWN(1) | HTCondor Manual | CONDOR_SET_SHUTDOWN(1) |
NAME
condor_set_shutdown - HTCondor Manual
Set a program to execute upon condor_master shut down
SYNOPSIS
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 ]
DESCRIPTION
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.
OPTIONS
- -help
- Display usage information
- -version
- Display version information
- -exec name
- Select the program the master should exec the next time it shuts down. The master will run the program configured as MASTER_SHUTDOWN_<name> from the configuration of the condor_master.
- -debug
- Causes debugging information to be sent to stderr, based on the value of the configuration variable TOOL_DEBUG.
- -pool centralmanagerhostname[:portnumber]
- Specify a pool by giving the central manager's host name and an optional port number
- -name hostname
- Send the command to a machine identified by hostname
- hostname
- Send the command to a machine identified by hostname
- -addr "<a.b.c.d:port>"
- Send the command to a machine's master located at "<a.b.c.d:port>"
- "<a.b.c.d:port>"
- Send the command to a machine located at "<a.b.c.d:port>"
- -constraint expression
- Apply this command only to machines matching the given ClassAd expression
- -all
- Send the command to all machines in the pool
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.
EXAMPLES
To have all condor_master daemons run the program /bin/reboot upon shut down, configure the condor_master to contain a definition similar to:
MASTER_SHUTDOWN_REBOOT = /sbin/reboot
where 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 -all
where the string reboot matches the invented name.
AUTHOR
HTCondor Team
COPYRIGHT
1990-2024, Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI, US. Licensed under the Apache License, Version 2.0.
| March 8, 2026 |