CONDOR_OFF(1)
๐ condor_off โ the HTCondor Manual, but make it cute
okay bestie, gather round, because we're talking about condor_off from the HTCondor manual and honestly? it's giving "politely ask your daemons to go night-night" energy. ๐คโจ
โจ NAME โจ
condor_off โ Shutdown HTCondor daemons ๐ซถ
๐ธ SYNOPSIS ๐ธ
condor_off [-help | -version ]
condor_off [-graceful | -fast | -peaceful | -force-graceful | -drain ]
[-annex name] [-debug[:opts] ] [-pool
centralmanagerhostname[:portnumber]] [ -name hostname | hostname | -addr
"<a.b.c.d:port>" | "<a.b.c.d:port>" | -constraint expression | -all ]
[-daemon daemonname | -master] [-exec name] [-reason "reason-string"]
[-request-id id] [-check expr] [-start expr]
๐ DESCRIPTION ๐
So like, condor_off shuts down a set of the HTCondor daemons running on a set of one or more machines. Ngl, by default it does this cleanly, so that jobs actually get time to shut down instead of being yanked mid-sentence. ๐ญ
The command condor_off with no arguments at all will shut down all daemons except condor_master โ unless -annex name is specified, which changes the whole vibe. And why do we spare condor_master? Because it can then handle both local and remote requests to restart the other HTCondor daemons if need be. It's the main character fr. ๐ To restart HTCondor running on a machine, go see the condor_on command.
When you choose the -drain option, draining options can be specified using the optional -reason, -request-id, -check, and -start arguments. Slay, options within options. ๐
With the -daemon master option, condor_off will shut down all daemons including the condor_master โ no survivors, periodt. Specification using the -daemon option will shut down only the specified daemon. Pick your fighter. ๐
When shutting down all daemons including the condor_master, the -exec argument can be used to tell the master to run a configured MASTER_SHUTDOWN_<Name> script before it exits. Iconic exit ritual honestly. ๐ฏ๏ธ
For security reasons of authentication and authorization, this command requires ADMINISTRATOR level of access. No random people off the street, bestie, this is a locked-door situation. ๐
๐ฆ OPTIONS ๐ฆ
-helpโ Display usage information. The "what does this even do" button. ๐-versionโ Display version information. Receipts of what you're running. ๐งพ-gracefulโ The default. If jobs are running, wait for up to the configured grace period for them to finish, then exit. Chill but not too chill. โณ-fastโ Quickly shutdown daemons, immediately evicting any running jobs. A minimum of the first two characters of this option must be specified, to distinguish it from the-force-gracefulcommand. It's giving speedrun energy, no goodbyes. ๐จ-peacefulโ Wait indefinitely for jobs to finish. Not a single deadline in sight, we simply wait. ๐งโโ๏ธ-force-gracefulโ Force a graceful shutdown, even after issuing a-peacefulcommand. A minimum of the first two characters of this option must be specified, to distinguish it from the-fastcommand. It's the "okay actually change of plans" option. ๐-drainโ Send acondor_draincommand with the-exit-on-completionoption to allcondor_startddaemons that are managed by this master. Then wait for allcondor_startddaemons to exit before shutting down other daemons. Very "we leave in an orderly fashion" of it. ๐ช-reason "reason-string"โ Use with-drainto set a-reason "reason-string"value for thecondor_draincommand. Tell them why bestie, closure matters. ๐-request-id idโ Use with-drainto set a-request-id idvalue for thecondor_draincommand. Gotta have that ID, iykyk. ๐-check exprโ Use with-drainto set a-check exprvalue for thecondor_draincommand. ๐ง-start exprโ Use with-drainto set a-start exprvalue for thecondor_draincommand. ๐-annex nameโ Turn off master daemons in the specified annex. By default this will result in the corresponding instances shutting down. Bye annex, love u, mean it. ๐-debug[:opts]โ Causes debugging information to be sent tostderr. The debug level can be set by specifying an optional opts value. Otherwise, the configuration variableTOOL_DEBUGsets the debug level. Spill the tea (to stderr). ๐ต-pool centralmanagerhostname[:portnumber]โ Specify a pool by giving the central manager's host name and an optional port number. Aim at a whole different pool, lowkey powerful. ๐-name hostnameโ Send the command to a machine identified by hostname. ๐ฎhostnameโ Send the command to a machine identified by hostname. (Yeah, you can just say the name, no flag needed, we love an effortless queen.) โจ-addr "<a.b.c.d:port>"โ Send the command to a machine's master located at"<a.b.c.d:port>". IP-address-coded. ๐ข"<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. Filtered, curated, algorithm-approved. ๐ช-allโ Send the command to all machines in the pool. Everyone. All of them. The whole group chat. ๐ข-masterโ Shutdown thecondor_masterafter shutting down all other daemons. The final boss exits last. ๐-exec nameโ When used with-master, thecondor_masterwill run the program configured asMASTER_SHUTDOWN_<Name>after shutting down all other daemons. ๐โโ๏ธ-daemon daemonnameโ Send the command to the named daemon. Without this option, the command is sent to thecondor_masterdaemon. Choose your target bestie. ๐ช
๐ GRACEFUL VS. PEACEFUL VS FAST ๐
A "fast" shutdown will cause the requested daemon to exit. Jobs running under a startd that is shutdown fast will be evicted. Jobs running on a schedd that is shutdown fast will be left running for their job lease duration (default of 20 minutes). (That is, assuming the corresponding startd is not also being shut down). If that schedd restarts before the job lease expires, it will reconnect to these running jobs and continue to run them, as long as the schedd and startd are running. It's the "leaving but my location is still on" situation fr. ๐
A "graceful" shutdown of a schedd is functionally the same as a "fast" shutdown of a schedd. Same energy, different name, no cap. ๐ค
A "graceful" shutdown of a startd that has jobs running under it causes the startd to wait for the jobs to exit of their own accord, up to the MaxJobRetirementTime. After the MaxJobRetirementTime, the startd will evict any remaining running jobs and exit. Respectful, but with a hard deadline. โฐ
A "peaceful" shutdown of a startd or schedd will cause that daemon to wait indefinitely for all existing jobs to exit before shutting down. During this time, no new jobs will start. It will literally wait forever, bestie, that's the whole personality. ๐ฐ๏ธ
๐ EXIT STATUS ๐
condor_off will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure. Zero = slay, one = we do not talk about it. ๐
๐ง EXAMPLES ๐ง
To shut down all daemons (other than condor_master) on the local host:
$ condor_off
To shut down only the condor_collector on three named machines:
$ condor_off cinnamon cloves vanilla -daemon collector
To shut down daemons within a pool of machines other than the local pool, use the -pool option. The argument is the name of the central manager for the pool. Note that one or more machines within the pool must be specified as the targets for the command. This command shuts down all daemons except the condor_master on the single machine named cae17 within the pool of machines that has condor.cae.wisc.edu as its central manager:
$ condor_off -pool condor.cae.wisc.edu -name cae17
๐ AUTHOR ๐
HTCondor Team โ the collective group-chat admins of HTCondor, we stan. ๐ซถ
โญ COPYRIGHT โญ
1990-2026, Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI, US. Licensed under the Apache License, Version 2.0. ๐
and that's the whole page bestie!! ๐ it came from the HTCondor Manual, dated Oct 16, 2026, and it's filed under CONDOR_OFF(1). go shut down some daemons responsibly, ily, bye!! ๐
โจ๐ฆ
๐ฆ where this page comes from
- fedora 43: condor 25.14.1-1.fc43 ยท Apache-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms