* Cron - should be simple...
@ 2000-03-16 5:00 guinevere
2000-03-16 5:00 ` Ian Wilkinson
0 siblings, 1 reply; 2+ messages in thread
From: guinevere @ 2000-03-16 5:00 UTC (permalink / raw)
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...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cron - should be simple...
2000-03-16 5:00 Cron - should be simple guinevere
@ 2000-03-16 5:00 ` Ian Wilkinson
0 siblings, 0 replies; 2+ messages in thread
From: Ian Wilkinson @ 2000-03-16 5:00 UTC (permalink / raw)
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 <you> 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=<you>
# 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 <liberty@panix.com>
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...
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-03-16 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-16 5:00 Cron - should be simple guinevere
2000-03-16 5:00 ` Ian Wilkinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox