xref: /original-bsd/usr.bin/uucp/uupoll/uupoll.8 (revision bff54947)
Copyright (c) 1986 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)uupoll.8 6.4 (Berkeley) 06/24/90

UUPOLL 8 ""
C 6
NAME
uupoll - poll a remote \s-1UUCP\s+1 site
SYNOPSIS
uupoll [ -g grade ] [ -n ] system
DESCRIPTION
Uupoll is used to force a poll of a remote system. It queues a null job for the remote system and then invokes uucico (8).

The following options are available:

8 -g grade Only send jobs of grade grade or higher on this call.

8 -n Queue the null job, but do not invoke uucico .

Uupoll is usually run by cron (5) or by a user who wants to hurry a job along. A typical entry in crontab could be:

 0 0,8,16 * * * daemon /usr/bin/uupoll ihnp4
 0 4,12,20 * * * daemon /usr/bin/uupoll ucbvax
This will poll ihnp4 at midnight, 0800, and 1600, and ucbvax at 0400, noon, and 2000.

If the local machine is already running uucico every hour and has a limited number of outgoing modems, a more elegant approach might be:

 0 0,8,16 * * * daemon /usr/bin/uupoll -n ihnp4
 0 4,12,20 * * * daemon /usr/bin/uupoll -n ucbvax
 5 * * * * daemon /usr/lib/uucp/uucico -r1
This will queue null jobs for the remote sites at the top of hour; they will be processed by uucico when it runs five minutes later.
FILES
/usr/lib/uucp/ UUCP internal files/utilities
/var/spool/uucp/ Spool directory
SEE ALSO
uucp(1), uux(1), uucico(8)