CONDOR_PREEN(1)
β¨ NAME β¨
condor_preen β like, the official name is "condor_preen - HTCondor Manual" but bestie, what it actually does is remove extraneous files from HTCondor directories π
This page lives in the HTCondor Manual, so if you're looking for the HTCondor Manual, hi, you found her π«Ά
π SYNOPSIS π
condor_preen [-mail ] [-remove ] [-verbose ] [-debug ] [-log <filename>]
That's the whole vibe check. Four lil toggles and one -log that wants a filename, periodt.
π¦ DESCRIPTION π¦
okay so picture this: condor_preen goes snooping through the directories that belong to HTCondor and removes extraneous files and directories β the lil leftovers from HTCondor processes that terminated abnormally, whether that's because of internal errors or because the whole system crashed π mess.
The directories she checks are the LOG, EXECUTE, and SPOOL directories as defined in the HTCondor configuration files. No cap.
She's designed to be run as user root or user condor, periodically, as a lil backup method to make sure the file system stays reasonably clean even when errors happen. And guess what β this already happens automatically by default thanks to the condor_master daemon π. You can also explicitly invoke her on an as-needed basis if you're feeling proactive.
Now here's the tea on how she cleans the SPOOL directory: she always leaves behind the files specified in the configuration variables VALID_SPOOL_FILES and SYSTEM_VALID_SPOOL_FILES, as given by the configuration. Do not touch, she said π
The LOG directory works the opposite way: the only files removed or reported are those listed within the configuration variable INVALID_LOG_FILES. Why the different treatment? Because in general, the files in the LOG directory ought to be left alone, with few exceptions β and an example of those exceptions is core files. Since new log files get introduced regularly, it's way less effort to specify the ones that ought to be removed than the ones that are not to be removed. Lowkey genius, highkey efficient β¨
π OPTIONS π
-mailβ sends mail to the user defined in thePREEN_ADMINconfiguration variable, instead of writing to the standard output π§-removeβ actually removes the offending files and directories rather than just reporting on them π (yes she can absolutely just spill the gossip without doing anything, iconic behaviour)-verboseβ lists all files or directories found in the Condor directories and considered for deletion, even those which are not extraneous. This option also modifies the output produced by the-debugand-logoptions π£οΈ-debugβ prints extra debugging information tostderras the command executes π-log<filename>β writes extra debugging information to<filename>as the command executes π
π EXIT STATUS π
condor_preen exits with a status value of 0 (zero) upon success, and she exits with a non-zero value upon failure. Here's the breakdown:
- An exit status of
2meanscondor_preenattempted to send email about deleted files but was unable to. This usually indicates an error in the configuration for sending email π - An exit status of
1indicates a general failure π
π 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.
ok bestie that's the whole page, you ate this read fr fr π big slay, go keep your spool clean, and remember she was written for the HTCondor Manual, dated Oct 16, 2026. mwah π β¨π
π¦ 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