uudemon.admin Command

Purpose

Provides periodic information on the status of BNU file transfers.

Syntax

uudemon.admin

Description

The /usr/sbin/uucp/uudemon.admin command is a shell procedure that mails status information about the Basic Networking Utilities (BNU) activities to the uucp login ID at intervals specified in the /var/spool/cron/crontabs/uucp file. The command executes both the uustat -p and the uustat -q commands:

Execute the uudemon.admin command at least once a day. The uudemon.admin command is not enabled when you install the BNU program. To run this command automatically, edit the /var/spool/cron/crontabs/uucp file, removing the comment character (#) from the beginning of the line that governs running the uudemon.admin command.

Examples

To run the uudemon.admin command automatically, edit the /var/spool/cron/crontabs/uucp file and remove the comment character (#) from the beginning of the uudemon.admin command line. Change:

#48 8,12,16 * * * /usr/bin/sh -c
 "/usr/sbin/uucp/uudemon.admin > /dev/null"

to:

48 8, 12, 16 * * * /usr/bin/sh -c "/usr/sbin/uucp/uudemon.admin > /dev/null"
The 48 notation represents minutes, the 8,12,16 notation represents hours based on the 24-hour clock, and the three asterisks (* * *) are placeholders representing the day of the month, the month of the year, and the day of the week, respectively. This line therefore instructs the cron daemon to run the uudemon.admin command daily at 48 minutes past the hours 0800, 1200, and 1600, that is, at 8:48 a.m., 12:48 p.m., and 4:48 p.m., respectively.
Note: These run intervals are defaults. By altering them, you can change the times at which the cron daemon executes the uudemon.admin command to fit the needs of your site.

Files

Item Description
/usr/sbin/uucp/uudemon.admin Contains the uudemon.admin command and the configuration files for BNU.
/etc/locks/* Contains lock files which prevent multiple uses of devices and multiple calls to systems.
/var/spool/cron/crontabs/uucp Schedules BNU jobs, including the uudemon.admin command, for the cron daemon.