uucleanup(8) CLIX uucleanup(8)
NAME
uucleanup - Runs uucp spool directory clean-up
SYNOPSIS
/usr/lib/uucp/uucleanup [-Ctime] [-Dtime] [-Wtime] [-Xtime] [-mstring]
[-otime] [-ssystem]
FLAGS
-Ctime Any C. files greater or equal to time days old will be
removed with appropriate information to the requestor.
(default 7 days)
-Dtime Any D. files greater or equal to time days old will be
removed. An attempt will be made to deliver mail messages
and execute rnews when appropriate. (default 7 days)
-Wtime Any C. files equal to time days old will cause a mail
message to be sent to the requestor warning about the
delay in contacting the remote. The message includes the
JOBID, and in the case of mail, the mail message. The
administrator may include a message line telling whom to
call to check the problem (-m flag). (default 1 day)
-Xtime Any X. files greater or equal to time days old will be
removed. The D. files are probably not present (if they
were, the X. could get executed). But if there are D.
files, they will be taken care of by D. processing.
(default 2 days)
-mstring This line will be included in the warning message
generated by the -W flag.
-otime Other files whose age is more than time days will be
deleted. (default 2 days) The default line is ``See your
local administrator to locate the problem''.
-ssystem Execute for system spool directory only.
-xdebug_level The -x debug level is a single digit between 0 and 9;
higher numbers give more detailed debugging information.
(If uucleanup was compiled with -DSMALL, no debugging
output will be available.)
DESCRIPTION
The uucleanup command will scan the spool directories for old files and
take appropriate action to remove them in a useful way:
2/94 - Intergraph Corporation 1
uucleanup(8) CLIX uucleanup(8)
⊕ Inform the requestor of send/receive requests for systems that can not
be reached.
⊕ Return mail, which cannot be delivered, to the sender.
⊕ Delete or execute rnews for rnews type files (depending on where the
news originated-locally or remotely).
⊕ Remove all other files.
In addition, there is a provision to warn users of requests that have been
waiting for a given number of days (default 1). Note that uucleanup will
process as if all option time(s) were specified to the default values
unless time is specifically set.
This program is typically started by the shell uudemon.cleanup, which
should be started by cron.
EXAMPLES
To clean up all D.* files older than 1 week:
uucleanup -D7
FILES
/usr/lib/uucp
Directory with commands used by uucleanup internally
/usr/spool/uucp
Spool directory
EXIT VALUES
The uucleanup command exits with a value of 0 if successful and a value of
1 if an error occurs.
RELATED INFORMATION
Commands: cron(8), uucp(1), uux(1)
2 Intergraph Corporation - 2/94