Path: news.uiowa.edu!chi-news.cic.net!mr.net!newshub.tc.umn.edu!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!in1.uu.net!ott.istar!istar.net!news.mulberry.com!news From: dmitton@mulberry.com (Douglas E. Mitton) Newsgroups: comp.sys.apple2.gno Subject: GNO/ME and 'cron' Date: Mon, 10 Jun 1996 22:49:12 GMT Organization: Uniquest On-Line Services Lines: 55 Message-ID: <4pi8v2$aq3@news.mulberry.com> NNTP-Posting-Host: ppp33.mulberry.com X-Newsreader: Forte Free Agent v0.55 The original post from Kevin Noonan didn't get to me so I'm responding to a forwarded message ... I had the same problems running 'cron' until I was sent an example implementation. My 'cron' usage is a little different as I found that this version doesn't have an option to re-read the crontab file, currently to change and activate a new crontab you must re-boot cron. My implementation sorta gets around this. I only use this if I want to monitor some task over a long period of time, my normal bootup init level is 8. To get around this I have cron execute a shell script which I can change/edit as much as I want and it gets executed every hour (in this example), without having to reboot GNO/ME. I've asked after the cron source a few times but couldn't find it ... I'd like to add this re-read crontab option. Any way, here are the exerpts from my files and the version of cron that I'm using. (The 'doug' in the crontab entry is the user id to execute the command as ... I'm sure its not functional under GNO/ME BUT its a required parameter. -----/etc/inittab entry----- # # The Cron Daemon # cr:23479:once::/usr/sbin/cron -----/etc/crontab entry----- 0 * * * * doug /bin/gsh -c /root/gno/tmp/cron.up -----/root/gno/tmp/cron.up----- (Make sure its an executable gsh file.) /usr/bin/date >>/root/gno/tmp/uptime.log /usr/bin/uptime >>/root/gno/tmp/uptime.log /usr/bin/eps -aln >>/root/gno/tmp/uptime.log -----The cron I'm using.----- /usr/sbin: total 334k -rwxbrd 0100 exe 25243 Sep 15 1993 cron* Good Luck! ---------------------------------- Doug Mitton * In Brockville, Ontario, Canada (City of the Thousand Islands!) EMail: dmitton@mulberry.com d.mitton@genie.geis.com ---------------------------------