1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
'\" te
.\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright 1989 AT&T
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH UUCLEANUP 1M "May 19, 1993"
.SH NAME
uucleanup \- uucp spool directory clean-up
.SH SYNOPSIS
.LP
.nf
\fB/usr/lib/uucp/uucleanup\fR [\fB-C\fR\fItime\fR] [\fB-D\fR\fItime\fR] [\fB-m\fR\fIstring\fR]
[\fB-o\fR\fItime\fR] [\fB-s\fR\fIsystem\fR] [\fB-W\fR\fItime\fR] [\fB-x\fR\fIdebug-level\fR] [\fB-X\fR\fItime\fR]
.fi
.SH DESCRIPTION
.sp
.LP
\fBuucleanup\fR will scan the spool directories for old files and take
appropriate action to remove them in a useful way:
.RS +4
.TP
.ie t \(bu
.el o
Inform the requester of send/receive requests for systems that can not be
reached.
.RE
.RS +4
.TP
.ie t \(bu
.el o
Return undeliverable mail to the sender.
.RE
.RS +4
.TP
.ie t \(bu
.el o
Deliver \fBrnews\fR files addressed to the local system.
.RE
.RS +4
.TP
.ie t \(bu
.el o
Remove all other files.
.RE
.sp
.LP
In addition, there is a provision to warn users of requests that have been
waiting for a given number of days (default 1 day). Note: \fBuucleanup\fR will
process as if all option \fBtimes\fR were specified to the default values
unless \fBtime\fR is specifically set.
.sp
.LP
This program is typically started by the shell \fBuudemon.cleanup\fR, which
should be started by \fBcron\fR(1M).
.SH OPTIONS
.sp
.ne 2
.na
\fB\fB-C\fR\fBtime\fR\fR
.ad
.RS 17n
Remove any \fBC.\fR files greater or equal to \fBtime\fR days old and send
appropriate information to the requester (default 7 days).
.RE
.sp
.ne 2
.na
\fB\fB-D\fR\fBtime\fR\fR
.ad
.RS 17n
Remove any \fBD.\fR files greater or equal to \fBtime\fR days old, make an
attempt to deliver mail messages, and execute \fBrnews\fR when appropriate
(default 7 days).
.RE
.sp
.ne 2
.na
\fB\fB-m\fR\fIstring\fR\fR
.ad
.RS 17n
Include \fIstring\fR in the warning message generated by the \fB-W\fR option.
The default line is "See your local administrator to locate the problem".
.RE
.sp
.ne 2
.na
\fB\fB-o\fR\fBtime\fR\fR
.ad
.RS 17n
Delete other files whose age is more than \fBtime\fR days (default 2 days).
.RE
.sp
.ne 2
.na
\fB\fB-s\fR\fIsystem\fR\fR
.ad
.RS 17n
Execute for \fIsystem\fR spool directory only.
.RE
.sp
.ne 2
.na
\fB\fB-W\fR\fBtime\fR\fR
.ad
.RS 17n
Any \fBC.\fR files equal to \fBtime\fR days old will cause a mail message to be
sent to the requester warning about the delay in contacting the remote. The
message includes the \fIJOBID\fR, and in the case of mail, the mail message.
The administrator may include a message line telling whom to call to check the
problem (\fB-m\fR option) (default 1 day).
.RE
.sp
.ne 2
.na
\fB\fB-x\fR\fIdebug-level\fR\fR
.ad
.RS 17n
Produce debugging output on standard ouput. \fIdebug-level\fR is a single digit
between 0 and 9; higher numbers give more detailed debugging information. (This
option may not be available on all systems.)
.RE
.sp
.ne 2
.na
\fB\fB-X\fR\fBtime\fR\fR
.ad
.RS 17n
Any \fBX.\fR files greater or equal to \fBtime\fR days old will be removed. The
\fBD.\fR files are probably not present (if they were, the \fBX.\fR could get
executed). But if there are \fBD.\fR files, they will be taken care of by D.
processing (default 2 days).
.RE
.SH FILES
.sp
.ne 2
.na
\fB\fB/usr/lib/uucp\fR\fR
.ad
.RS 19n
directory with commands used by \fBuucleanup\fR internally
.RE
.sp
.ne 2
.na
\fB\fB/var/spool/uucp\fR\fR
.ad
.RS 19n
spool directory
.RE
.SH SEE ALSO
.sp
.LP
\fBuucp\fR(1C), \fBuux\fR(1C), \fBcron\fR(1M), \fBattributes\fR(5)
|