DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
BNU maintenance

Automated networking maintenance (cron)

BNU is delivered with entries for shell scripts in the /var/spool/cron/crontabs/uucp file. These entries will automatically handle some BNU administrative tasks for you. The shell scripts can be found in /usr/lib/uucp.

In multi-user state, tasks scheduled by the crontab command are automatically performed by cron. The crontab file for uucp is now used to schedule regular BNU maintenance using the following shell scripts:

uudemon.poll

The uudemon.poll shell script delivered with the system does the following:

By default, the shell script is scheduled to run twice an hour, just before uudemon.hour, so the work files will be there when uudemon.hour is called. The following is the default crontab entry for uudemon.poll:

   1,30 * * * * $TFADMIN /usr/lib/uucp/uudemon.poll > /dev/null

uudemon.hour

The uudemon.hour shell script delivered with the system does the following:

The following is the default uucp crontab entry for uudemon.hour:

      41,11 * * * * $TFADMIN /usr/lib/uucp/uudemon.hour > /dev/null
On the system as delivered, uudemon.hour is run twice an hour. You may want it to run more often if you expect high failure rates.

uudemon.admin

The uudemon.admin shell script delivered with the system does the following:

There is no default crontab entry for uudemon.admin. To set up administrative reporting enter the following line in the uucp crontab file:

      48 8,12,16 * * * $TFADMIN /usr/lib/uucp/uudemon.admin > /dev/null

uudemon.clean

The delivered uudemon.clean shell script does the following:

The following is the default uucp crontab entry for uudemon.clean:
   45 23 * * * $TFADMIN /usr/lib/uucp/uudemon.clean > /dev/null 2>&1
uudemon.clean is described in detail in ``Cleaning up log files''.


NOTE: If your system handles a heavy uucp load, it may be necessary to run uudemon.clean with an increased ulimit. For example:
   45 23 * * * ulimit 5000; $TFADMIN /usr/bin/su uucp -c \
   "/usr/lib/uucp/uudemon.clean" > /dev/null 2>&1


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004