CONDOR_RM(1)
β¨ condor_rm β the HTCondor Manual says hi π
okay bestie, welcome to the HTCondor Manual, page one of let's get this job out of here. This is condor_rm: it withdraws job(s) from an Access Point. Basically the "bestie it's time to go" of Unix commands. π
πΈ SYNOPSIS πΈ
condor_rm [-help | -version]
condor_rm [-transfer] [OPTIONS] [cluster... | cluster.proc... | user...]
condor_rm [-debug] [-long] [-totals] [-all] [-held] [-transfer]
[-constraint expression] [-forcex][-pool hostname[:portnumber] | -name
scheddname | -addr "<a.b.c.d:port>"]
π DESCRIPTION π
So the vibe is: you've got job(s) currently being managed by an Access Point, and you want them GONE. condor_rm does that. π₯
If a job is actively running, or actively transferring files, it gets stopped and cleaned up first β and then the job is removed and its ClassAd is written to the HISTORY file. Order matters, don't @ me.
And here's the permission tea π«: 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 remove the job. That's it. That's the list.
β¨ OPTIONS β¨
-helpβ shows you how to use it. usage info, right there. π-versionβ tells you what version you're on.-longβ displays the result ClassAd.-totalsβ displays success/failure totals, so you get the receipts. π§Ύ-pool hostname[:portnumber]β pick a pool by giving the central manager's host name, plus 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 tostderr, based on the value of the configuration variableTOOL_DEBUG. yeah she's chatty now π-forcexβ force the immediate local removal of jobs in theXstate. Heads up: this only affects jobs that are already being removed.-transferβ if the job is running, ask the job to transfer any output files to the submitter before the job is removed. so nobody loses their homework π«Ά-constraint expressionβ remove all jobs which match the job ClassAd expression constraint.-allβ remove all the jobs in the queue. yes, all of them. the whole queue. π-heldβ only remove jobs that are in the held state. This may be combined with any of the other constraints (a cluster, a cluster.process, a user, or a-constraintexpression); only the held jobs among those selected are removed. Just so you know:-holdis accepted as a synonym. β¨clusterβ remove all jobs in the specified cluster.cluster.processβ remove the specific job in the cluster.userβ remove 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.
Removed jobs that were running in the grid universe may remain in the X state for a long time. And no, nothing's broken β this is normal, because HTCondor is attempting to communicate with the remote scheduling system to make sure the job has actually been properly cleaned up. If a job is stuck in the X state, it can be forcibly removed with -forcex. π
WARNING: β οΈ The -forcex option will cause immediate removal of the job, which [leaves] an orphan parts of the job that [are] running remotely and have not been stopped or cleaned up. Likeβ¦ she's out the door and her stuff is still in the living room. Not a vibe. Be sure before you do it.
π¦ EXIT STATUS π¦
0β Success π1β Failure has occurred π
π EXAMPLES π
Remove a specific job:
$ condor_rm 123.45
Remove all jobs currently not running:
$ condor_rm -constraint 'JobStatus =!= 2'
Remove all of user Bob's jobs:
# condor_rm bob
Remove only your held jobs:
$ condor_rm -held
Remove a specific job, but only if it is held:
$ condor_rm -held 123.45
Remove held jobs in cluster 123 whose ExitCode was 2:
$ condor_rm -held -constraint 'ExitCode == 2' 123
β SEE ALSO β
condor_suspend, condor_continue, condor_hold, condor_release, condor_vacate_job, condor_vacate β the whole friend group, go say hi π
π AVAILABILITY π
Linux, MacOS, Windows. every platform, she's versatile, main character energy π
πΈ AUTHOR πΈ
HTCondor Team
π 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.
okay that's the whole page bestie, no cap, every flag accounted for π«Ά this was the HTCondor Manual, dated Oct 16, 2026 β periodt π β¨
π¦ 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