uucleanup(1M) uucleanup(1M)
NAME
uucleanup - uucp spool directory clean-up
SYNOPSIS
/usr/lib/uucp/uucleanup [options]
DESCRIPTION
The uucleanup command scans the spool directories for old
files and take appropriate action to remove them in a useful
way.
Files
/usr/lib/uucp directory with commands used by uucleanup
internally
/var/spool/uucp spool directory
USAGE
uucleanup is typically started by the shell uudemon.cleanup,
which should be started by cron(1M).
uucleanup performs the following actions:
inform the requester of send/receive requests for
systems that can not be reached
return undeliverable mail to the sender
deliver rnews files addressed to the local system
remove the log files and directories in
/var/spool/.Log/uuxbf
remove all other files
In addition, uucleanup notifies users of requests that have
been waiting for a given number of days (the default is 1).
Note that uucleanup will process as if all option times were
specified to the default values unless times are specifically
set.
uucleanup does not remove the /var/spool/uucppublic/receive
directory.
uucleanup processes supplementary code set characters in the
string given to the -m option (see below) according to the
locale specified in the LC_CTYPE environment variable [see
Copyright 1994 Novell, Inc. Page 1
uucleanup(1M) uucleanup(1M)
LANG on environ(5)].
The following options are available:
-Cdays Any C. files greater or equal to days days old will
be removed with appropriate information to the
requester. The default is 7 days.
-Ddays Any D. files greater or equal to days days old will
be removed. An attempt will be made to deliver mail
messages and execute rnews when appropriate. The
default is 7 days.
-Wdays Any C. files equal to days 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 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 option). The default is 1 day.
-Xdays Any X. files greater or equal to days 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. The default is 2 days.
-d Removes empty directories under the PUBDIR directory
only if they are owned by uucp (UID=5).
-mstring Include string in the warning message generated by
the -W option. string may contain supplementary
code set characters.
-odays Other files whose age is more than days days will be
deleted. The default is 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. (This option may not be available on
all systems.)
Copyright 1994 Novell, Inc. Page 2
uucleanup(1M) uucleanup(1M)
REFERENCES
cron(1M), uucp(1C), uux(1C)
Copyright 1994 Novell, Inc. Page 3