uudemon.poll Command
Purpose
Polls the systems listed in the BNU Poll file.
Syntax
uudemon.poll
Description
The /usr/sbin/uucp/uudemon.poll command is a shell procedure used by the Basic Networking Utilities (BNU). In conjunction with the /etc/uucp/Poll file, the uudemon.hour command, and the /var/spool/cron/crontabs/uucp file, the uudemon.poll command initiates calls to remote systems.
The uudemon.poll command performs the following actions:
- Polls (contacts) the systems listed in the Poll file (/etc/uucp/Poll).
- Creates command (C.*) files for the systems listed in the Poll file.
The time at which you run the uudemon.poll command depends on the time at which you run the uudemon.hour command. In general, schedule the polling shell procedure before the hourly procedure. This schedule enables the uudemon.poll command to create any required command files before the cron daemon runs the uudemon.hour command.
Example
To run the uudemon.poll shell procedure automatically, edit the /var/spool/cron/crontabs/uucp file and remove the # (comment character) at the beginning of the line which starts the uudemon.poll command. Change:
#20,50 * * * * /usr/bin/sh -c "/usr/sbin/uucp/uudemon.poll > /dev/null"
to:
20,50 * * * * /usr/bin/sh -c "/usr/sbin/uucp/uudemon.poll > /dev/null"
Files
Item | Description |
---|---|
/usr/sbin/uucp/* | Contains the uudemon.poll and uudemon.hour commands and all the configuration files for BNU. |
/etc/uucp/Poll | Specifies when the BNU program should poll remote systems to initiate tasks. |
/var/spool/cron/crontabs/uucp | Schedules BNU jobs, including the uudemon.poll command, for the cron daemon. |