1condor_preen(1) General Commands Manual condor_preen(1)
2
3
4
6 condor_preenremove extraneous files from HTCondor directories
7
9 condor_preen[-mail] [-remove] [-verbose] [-debug]
10
12 condor_preenexamines the directories belonging to HTCondor, and removes
13 extraneous files and directories which may be left over from HTCondor
14 processes which terminated abnormally either due to internal errors or
15 a system crash. The directories checked are the LOG, EXECUTE, and
16 SPOOLdirectories as defined in the HTCondor configuration files. con‐
17 dor_preenis intended to be run as user rootor user condorperiodically
18 as a backup method to ensure reasonable file system cleanliness in the
19 face of errors. This is done automatically by default by the con‐
20 dor_masterdaemon. It may also be explicitly invoked on an as needed
21 basis.
22
23 When condor_preencleans the SPOOLdirectory, it always leaves behind the
24 files specified in the configuration variables VALID_SPOOL_FILESand
25 SYSTEM_VALID_SPOOL_FILES, as given by the configuration. For the LOGdi‐
26 rectory, the only files removed or reported are those listed within the
27 configuration variable INVALID_LOG_FILESlist. The reason for this dif‐
28 ference is that, in general, the files in the LOGdirectory ought to be
29 left alone, with few exceptions. An example of exceptions are core
30 files. As there are new log files introduced regularly, it is less
31 effort to specify those that ought to be removed than those that are
32 not to be removed.
33
35 -mail
36
37 Send mail to the user defined in the PREEN_ADMINconfiguration vari‐
38 able, instead of writing to the standard output.
39
40
41
42
43
44 -remove
45
46 Remove the offending files and directories rather than reporting on
47 them.
48
49
50
51
52
53 -verbose
54
55 List all files found in the Condor directories, even those which are
56 not considered extraneous.
57
58
59
60
61
62 -debug
63
64 Print extra debugging information as the command executes.
65
66
67
68
69
71 condor_preenwill exit with a status value of 0 (zero) upon success, and
72 it will exit with the value 1 (one) upon failure.
73
75 Center for High Throughput Computing, University of Wiscon‐
76 sin–Madison
77
79 Copyright © 1990-2019 Center for High Throughput Computing, Computer
80 Sciences Department, University of Wisconsin-Madison, Madison, WI. All
81 Rights Reserved. Licensed under the Apache License, Version 2.0.
82
83
84
85 date condor_preen(1)