Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Ian Wilkinson" <null@null.co.uk>
Subject: Re: Cron - should be simple...
Date: 2000/03/16	[thread overview]
Message-ID: <mO%z4.55$Dd2.5753@stones> (raw)
In-Reply-To: 38D026A5.1D6B02C2@panix.com

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...
>
>
>







      reply	other threads:[~2000-03-16  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-16  5:00 Cron - should be simple guinevere
2000-03-16  5:00 ` Ian Wilkinson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox