xref: /titanic_52/usr/src/man/man1m/uucleanup.1m (revision e0724c534a46ca4754330bc022bf1e2a68f5bb93)
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]
UUCLEANUP 1M "May 19, 1993"
NAME
uucleanup - uucp spool directory clean-up
SYNOPSIS

/usr/lib/uucp/uucleanup [-Ctime] [-Dtime] [-mstring]
 [-otime] [-ssystem] [-Wtime] [-xdebug-level] [-Xtime]
DESCRIPTION

uucleanup will scan the spool directories for old files and take appropriate action to remove them in a useful way:

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 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 day). Note: uucleanup will process as if all option times 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(1M).

OPTIONS
-Ctime

Remove any C. files greater or equal to time days old and send appropriate information to the requester (default 7 days).

-Dtime

Remove any D. files greater or equal to time days old, make an attempt to deliver mail messages, and execute rnews when appropriate (default 7 days).

-mstring

Include string in the warning message generated by the -W option. The default line is "See your local administrator to locate the problem".

-otime

Delete other files whose age is more than time days (default 2 days).

-ssystem

Execute for system spool directory only.

-Wtime

Any C. files equal to time 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) (default 1 day).

-xdebug-level

Produce debugging output on standard ouput. 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.)

-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).

FILES
/usr/lib/uucp

directory with commands used by uucleanup internally

/var/spool/uucp

spool directory

SEE ALSO

uucp(1C), uux(1C), cron(1M), attributes(5)