CONDOR_HOLD(1)

πŸ’– condor_hold β€” the HTCondor manual, bestie edition πŸ’–

okay so this is condor_hold(1), part of the HTCondor Manual, and it's literally the tool that puts your jobs on pause-pause. Not gonna lie, it's iconic. ✨


🌸 NAME 🌸

condor_hold β€” Prevents existing job(s) from running in HTCondor.

Like. That's it. That's the whole job. It holds them. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

condor_hold [-help | -version]

condor_hold [OPTIONS] [cluster... | cluster.proc... | user...]

condor_hold [-debug] [-long] [-totals] [-all] [-constraint expression]
[-reason message] [-subcode number] [-pool hostname[:portnumber] | -name
scheddname | -addr "<a.b.c.d:port>"]

✨ DESCRIPTION ✨

So what this does is place job(s) into the hold state in HTCondor. Held jobs stay chillin' in the condor_schedd but they will not be matched to resources or executed. They're just... vibing. Not running. 🫢

And lowkey important: for any given job, only the owner of the job or one of the queue super users (defined by the QUEUE_SUPER_USERS macro) can hold the job. So like, know your permissions, bestie. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -help β€” Display usage information. (Your lil "how do I do this" moment.)
  • -version β€” Display version information.
  • -long β€” Display result ClassAd. Fr fr, it shows you the whole ad.
  • -totals β€” Display success/failure totals. Receipts. πŸ“Š
  • -pool hostname[:portnumber] β€” Specify a pool by giving the central manager's host name and an optional port number.
  • -name scheddname β€” Send the command to a machine identified by scheddname.
  • -addr "<a.b.c.d:port>" β€” Send the command to a machine located at "<a.b.c.d:port>".
  • -debug β€” Causes debugging information to be sent to stderr, based on the value of the configuration variable TOOL_DEBUG.
  • -reason message β€” Sets the HoldReason attribute to the provided message in the job(s) ClassAd. This message will appear in the output of the condor_q -hold command. (Give your future self context, bestie, it's giving self-care. πŸ’–)
  • -subcode number β€” Sets the HoldReasonSubCode attribute to the provided number in the job(s) ClassAd.
  • -constraint expression β€” Hold all jobs which match the job ClassAd expression constraint.
  • -all β€” Hold all the jobs in the queue. Not me holding literally everything 😭
  • cluster β€” Hold all jobs in the specified cluster.
  • cluster.process β€” Hold the specific job in the cluster.
  • user β€” Hold all jobs belonging to specified user.

🌈 GENERAL REMARKS 🌈

If the -name option is specified, the named condor_schedd is targeted for processing. Otherwise, the local condor_schedd is targeted. iykyk.

A job in the hold state remains in HTCondor, but the job will not run until released via condor_release or removed via condor_rm. So it's not gone β€” it's just on hold. Main character energy, honestly.

⚠️ Heads up bestie: jobs put on hold while running will send a hard kill signal to stop the current execution. That is not a gentle vibe check, that's a πŸ’€. So be sure before you do it.

⭐ EXIT STATUS ⭐

  • 0 β€” Success πŸŽ‰
  • 1 β€” Failure has occurred 😭

πŸ“ EXAMPLES πŸ“

To hold a specific job:

$ condor_hold 432.1

To hold a specific job with a reason:

$ condor_hold 432.1 -reason "Defer running job until needed"

To hold all jobs that are not currently running:

$ condor_hold -constraint "JobStatus!=2"

To hold all of user Mary's jobs currently not running:

# condor_hold Mary -constraint "JobStatus!=2"

πŸ’œ SEE ALSO πŸ’œ

Go read these next, they're all in the same friend group:

  • condor_release
  • condor_rm
  • condor_continue
  • condor_suspend
  • condor_vacate_job
  • condor_vacate

🌸 AVAILABILITY 🌸

Linux, MacOS, Windows. Everywhere. She's universal, periodt. πŸ‘‘


🧚 AUTHOR 🧚

HTCondor Team. Absolute legends. 🫢


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.


okay that's the whole thing, bestie, you're officially an HTCondor hold girlie now πŸ’– This was the CONDOR_HOLD(1) page from the HTCondor Manual, dated Oct 16, 2026 β€” no cap, go hold some jobs (responsibly). βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from