Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!mit-eddie!media-lab!lacsap@plethora.media.mit.edu From: lacsap@plethora.media.mit.edu (Pascal Chesnais) Newsgroups: comp.sys.next Subject: Re: UUCP Message-ID: <5415@media-lab.MEDIA.MIT.EDU> Date: 4 Mar 91 03:08:08 GMT References: <1991Mar3.235225.26205@daffy.cs.wisc.edu> Sender: news@media-lab.MEDIA.MIT.EDU Reply-To: lacsap@plethora.media.mit.edu Lines: 61 In article <1991Mar3.235225.26205@daffy.cs.wisc.edu> sparkie@picard.cs.wisc.edu (Mark J. Horn) writes: > In article <27CD8F65.29032@maccs.dcss.mcmaster.ca> cs4ed3ap@maccs.dcss.mcmaster.ca (Tyldesley A) writes: > > [ ... ] > > >The problem is with what should be the simplest part of the set up: having > >cron poll the remote server ever hour on the half our. This is what I have > >entered in my crontab file. > > > > 30 * * * * uucp uupoll maccs > > > >I also have tried > > > > 43 * * * * uucp /usr/bin/uupoll maccs > > > > 43 0-23 * * * root /usr/bin/uupoll maccs > > > >None of the above seem to executed by cron. Everything else in my setup works fine. Uupoll maccs can be used from the command line no problem. Does anyone > >see a problem with the above? > contains information of the form > > (NeXT may have changed this, but I seriously doubt it) The crontab entries are different on a NeXT... The above is wrong for NeXT 2.0... pasc From the cron(8) man page The crontab files consist of lines of seven fields each. The fields are separated by spaces or tabs. The first five are integer patterns to specify: + minute (0-59) + hour (0-23) + day of the month (1-31) + month of the year (1-12) + day of the week (1-7 with 1 = Monday) Each of these patterns may contain: + a number in the range above + two numbers separated by a minus meaning a range inclusive + a list of numbers separated by commas meaning any of the numbers + an asterisk meaning all legal values The sixth field is a user name: the command will be run with that user's uid and permissions. The seventh field consists of all the text on a line following the sixth field, includ- ing spaces and tabs; this text is treated as a command which is executed by the Shell at the specified times. A percent character (``%'') in this field is translated to a new-line character. Pascal Chesnais, Research Specialist, Electronic Publishing Group Media Laboratory, E15-351, 20 Ames Street, Cambridge, Ma, 02139 (617) 253-0311 email: lacsap@plethora.media.mit.edu (NeXT)