HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

u
uucleanup(1M) uucleanup(1M)
(TO BE OBSOLETED)
NAME
uucleanup - uucp spool directory clean-up
SYNOPSIS
/usr/lbin/uucp/uucleanup
[
-C time ][-D time ][-W time ][-X time ][
-m string ][-o time ]
[
-s system ][-x debug_level ]
DESCRIPTION
The
uucp commands, including uucleanup, are targeted for removal from HP-UX; see the WARNINGS
below.
uucleanup scans the spool directories for old files and takes appropriate action to remove them.
Depending on the options selected, uucleanup performs the following:
Informs the requestor of send and/or receive requests for systems that cannot be reached.
Returns mail that cannot be delivered to the sender.
Removes all other files.
In addition, uucleanup warns users of requestors who have been waiting for a given number of days
(the default is 1 day). Note that unless time is specifically set, the default time values for the following
options are used.
Options
uucleanup recognizes the following options:
-Ctime Any C. files greater or equal to time days old are removed with appropriate informa-
tion to the requestor. The default time is 7 days.
-Dtime Any D. files greater or equal to time days old are removed. An attempt is made to
deliver mail messages and execute news when appropriate. The default time is 7
days.
-Wtime Any C. files equal to time cause a message to be mailed 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 can include a message line telling
who to call to correct the problem (see the
-m option). The default time is 1 day.
-Xtime Any X. files greater than or equal to time days old are removed. The
D. files are
probably not present (if they were, the
X. could be executed). But, if D. files are
present, they are taken care of by D. processing. The default time is 2 days.
-mstring This string is included in the warning message generated by the -W option. The
default string is See your local administrator to locate the
problem.
-o
time Other files whose age is more than time days are deleted. The default time is 2 days.
-ssystem Clean-up the spool directory for system only. The default is to clean-up all spool direc-
tories.
-xdebug_level The debug level is a single digit between 0 and 9. The higher the numbers, the more
detailed the debugging information returned.
This program is typically started by the script uudemon.cleanu, which should be started by cron (see
cron(1M)).
WARNINGS
Use of
uucp commands, including uucleanup, is discouraged because they are targeted for removal
from HP-UX. Use ftp(1) or rcp(1) instead.
FILES
/var/spool/uucp/* spool directory
590 Hewlett-Packard Company 1 HP-UX 11i Version 2: December 2007 Update