DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Connecting to other computers with UUCP

Setting up polling

Dial-up UUCP systems are normally configured to exchange files automatically at regular intervals. Each time a scheduled exchange is due, the UUCP system polls the dial-in system to see if files are waiting to be transferred.

Use uudemon.poll2 to set up the polling schedule. To run uudemon.poll2, you need an entry for the daily daemon and an entry for the hourly daemon in the /usr/spool/cron/crontabs/uucp file as follows:

   0 0 * * *	/usr/lib/uucp/uudemon.poll2 -d
   0 * * * *	/usr/lib/uucp/uudemon.poll2
The -d flag refers to the daily daemon. The hourly daemon has no flags. The above example has the daemon run at midnight. You can change the time the daemon runs by altering the second field using a 24-hour clock.

To establish the hours and days that uudemon.poll2 runs, create two files: /usr/lib/uucp/Poll.hour and /usr/lib/uucp/Poll.day. These files contain the systems to be polled and the times and days they are polled.

A sample Poll.hour file follows:

   hanna	12 1 3
   raven	2 6 10w
If the hour is followed by a ``w'', uudemon.poll2 calls the site only if there is work to be done.

A sample Poll.day file follows:

   hanna	1 3 6
   raven	1 2 3 4 5
The days of the week are integers, with Sunday being 0.
Next topic: Creating login accounts for sites dialing in
Previous topic: Setting up maintenance scripts

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003