From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e60e2c9eff04d328 X-Google-Attributes: gid111c93,public From: "Ian Wilkinson" Subject: Re: Cron - should be simple... Date: 2000/03/16 Message-ID: #1/1 X-Deja-AN: 598162105 References: <38D026A5.1D6B02C2@panix.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Complaints-To: abuse@plus.net.uk X-Trace: stones 953190674 212.56.110.86 (Thu, 16 Mar 2000 07:11:14 GMT) X-MSMail-Priority: Normal NNTP-Posting-Date: Thu, 16 Mar 2000 07:11:14 GMT Newsgroups: comp.os.linux.alpha A couple of things, You posted to comp.os.linux.alpha this is a newsgroup for linux on the DEC (Compaq) Alpha AXP hardware, it's not about general linux things, second try this. Replace the with your username on the box. Make sure the /path/to/script.cgi has executable rights, for everyone that you want. If it still does not work then add an extra line to the crontab. SHELL=/bin/sh MAILTO= # run thirteen minutes after 23 'o clock.. every day 13 23 * * * /path/to/script.cgi * * * * * echo "Test of crontab, you should get this in your ,mail once a minute" You shouuld not need to run crontab after every change, it automaticlly checks to see if the files have changed. But as you're having so much trouble you might need to. if that does not work talk to the owner of the box, and stop posting here... Ian. ----- Original Message ----- From: guinevere Newsgroups: comp.os.linux.alpha Sent: Thursday, March 16, 2000 12:10 AM Subject: Cron - should be simple... > Hi all, I write in perl and have a question about cron, have read the > manpage and searched in books and online, i just want to run a perl > program using cron, i have written a crontab file, > I installed it properly using > $ export VISUAL=emacs > $ crontab -e > and saved it > its not my server but the cron facility should work and i have > permission > it is in the > appropriate place, it looks like this: > 13 23 * * * /path/to/script.cgi >> /path/to/output.file > but it doesn't seem to run the script at 11:13 pm or at all ... > nothing > goes to the output, have i missed a command? what have i done wrong? > i have tried also redirecting the error with 2>&1 > and have tried this using "perl" as command, and tried just having it > "echo" something using the redirecting output&error to the > file...nothing... > help....thanks... > > >