1just-man-pages/condor_preen(1G)eneral Commands Manujaulst-man-pages/condor_preen(1)
2
3
4

Name

6       condor_preen remove extraneous files from Condor directories
7

Synopsis

9       condor_preen [ -mail ] [ -remove ] [ -verbose ]
10

Description

12       condor_preen  examines the directories belonging to Condor, and removes
13       extraneous files and directories which may be  left  over  from  Condor
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 Condor configuration files.  con‐
17       dor_preen is 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_master  daemon.  It  may also be explicitly invoked on an as needed
21       basis.
22
23       When condor_preen cleans the SPOOLdirectory, it  always  leaves  behind
24       the  files  specified in the configuration variable VALID_SPOOL_FILESas
25       given by the  configuration.  For  the  LOGdirectory,  the  only  files
26       removed  or reported are those listed within the configuration variable
27       INVALID_LOG_FILESlist. The reason for this difference is that, in  gen‐
28       eral,  the  files  in the LOGdirectory ought to be left alone, with few
29       exceptions. An example of exceptions are core files. As there  are  new
30       log files introduced regularly, it is less effort to specify those that
31       ought to be removed than those that are not to be removed.
32

Options

34       -mail
35
36          Send mail to the user defined in the PREEN_ADMINconfiguration  vari‐
37          able, instead of writing to the standard output.
38
39
40
41
42
43       -remove
44
45          Remove  the offending files and directories rather than reporting on
46          them.
47
48
49
50
51
52       -verbose
53
54          List all files found in the Condor directories, even those which are
55          not considered extraneous.
56
57
58
59
60

Exit Status

62       condor_preen  will  exit  with a status value of 0 (zero) upon success,
63       and it will exit with the value 1 (one) upon failure.
64

Author

66       Condor Team, University of Wisconsin-Madison
67
69       Copyright (C) 1990-2009 Condor Team, Computer Sciences Department, Uni‐
70       versity   of  Wisconsin-Madison,  Madison,  WI.  All  Rights  Reserved.
71       Licensed under the Apache License, Version 2.0.
72
73       See  the  Condor  Version   7.4.2   Manual   or   http://www.condorpro
74       ject.org/licensefor additional notices. condor-admin@cs.wisc.edu
75
76
77
78                                     date       just-man-pages/condor_preen(1)
Impressum