xref: /csrg-svn/usr.bin/uucp/uupoll/uupoll.8 (revision 62401)
1*62401Sbostic.\" Copyright (c) 1986, 1991, 1993
2*62401Sbostic.\"	The Regents of the University of California.  All rights reserved.
327395Smckusick.\"
447469Scael.\" %sccs.include.redist.man%
527395Smckusick.\"
6*62401Sbostic.\"     @(#)uupoll.8	8.1 (Berkeley) 06/06/93
747469Scael.\"
847469Scael.Dd
947469Scael.Dt UUPOLL 8
1047469Scael.Os BSD 4.3
1147469Scael.Sh NAME
1247469Scael.Nm uupoll
1347469Scael.Nd poll a remote
1447469Scael.Tn UUCP
1547469Scaelsite
1647469Scael.Sh SYNOPSIS
1747469Scael.Nm uupoll
1847469Scael.Op Fl g Ns Ar grade
1947469Scael.Op Fl n
2047469Scael.Ar system
2147469Scael.Sh DESCRIPTION
2247469Scael.Nm Uupoll
2327395Smckusickis used to force a poll of a remote system. It queues a null job for the
2427395Smckusickremote system and then invokes
2547469Scael.Xr uucico 8 .
2647469Scael.Pp
2727395SmckusickThe following options are available:
2847469Scael.Bl -tag -width Fl
2947469Scael.It Fl g Ns Ar grade
3027395SmckusickOnly send jobs of grade
3147469Scael.Ar grade
3227395Smckusickor higher on this call.
3347469Scael.It Fl n
3427395SmckusickQueue the null job, but do not invoke
3547469Scael.Xr uucico .
3647469Scael.El
3747469Scael.Pp
3847469Scael.Nm Uupoll
3927395Smckusickis usually run by
4047469Scael.Xr cron 5
4127395Smckusickor by a user who wants to hurry a job along. A typical entry in
4247469Scael.Em crontab
4327395Smckusickcould be:
4447469Scael.Bd -literal
4547469Scael0    0,8,16     *    *    *    daemon    /usr/bin/uupoll ihnp4
4647469Scael0    4,12,20    *    *    *    daemon    /usr/bin/uupoll ucbvax
4747469Scael.Ed
4847469Scael.Pp
4927395SmckusickThis will poll
5047469Scael.Em ihnp4
5127395Smckusickat midnight, 0800, and 1600, and
5247469Scael.Em ucbvax
5327395Smckusickat 0400, noon, and 2000.
5447469Scael.Pp
5527395SmckusickIf the local machine is already running
5647469Scael.Xr uucico
5727395Smckusickevery
5827395Smckusickhour and has a limited number of outgoing modems, a more elegant approach
5927395Smckusickmight be:
6047469Scael.Bd -literal
6147469Scael0    0,8,16    *    *    *    daemon    /usr/bin/uupoll -n ihnp4
6247469Scael0    4,12,20   *    *    *    daemon    /usr/bin/uupoll -n ucbvax
6347469Scael5        *     *    *    *    daemon    /usr/lib/uucp/uucico -r1
6447469Scael.Ed
6547469Scael.Pp
6627395SmckusickThis will queue null jobs for the remote sites at the top of hour; they
6727395Smckusickwill be processed by
6847469Scael.Xr uucico
6927395Smckusickwhen it runs five minutes later.
7047469Scael.Sh FILES
7147469Scael.Bl -tag -width /usr/lib/uucp/UUCP -compact
7247469Scael.It Pa /usr/lib/uucp/UUCP
7347469Scaelinternal files/utilities
7447469Scael.It Pa /var/spool/uucp/
7547469ScaelSpool directory
7647469Scael.El
7747469Scael.Sh SEE ALSO
7847469Scael.Xr uucp 1 ,
7947469Scael.Xr uux 1 ,
8047469Scael.Xr uucico 8
8147469Scael.Sh HISTORY
8247469ScaelThe
8347469Scael.Nm
8447469Scaelcommand appeared in
8547469Scael.Bx 4.3 .
86