DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

uucleanup(1Mbnu)


uucleanup -- UUCP spool directory cleanup

Synopsis

/usr/lib/uucp/uucleanup [options]

Description

The uucleanup command scans the spool directories for old files and takes appropriate action to remove them in a useful way.

Options

The following options are available:

-C days
Any C. files greater than or equal to days days old will be removed with appropriate information to the requester. The default is 7 days.

-D days
Any D. files greater than 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.

-W days
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 job ID, 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.

-X days
Any X. files greater than or equal to days days old will be removed. The D. files are probably not present (if they were, the X. files 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).

-m string
Include string in the warning message generated by the -W option. string may contain supplementary code set characters.

-o days
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

-s system
Execute for system spool directory only.

-x debug_level
debug_level is a single digit between 0 and 9; higher numbers give more detailed debugging information.

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:

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 according to the locale specified in the LC_CTYPE environment variable (see LANG on environ(5)).

References

cron(1M), uucp(1bnu), uux(1bnu)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004