Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2001 19:54:36 +0100
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        Graham White <graham@bravenet.com>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: Cron
Message-ID:  <125203352.994276476@geko>
In-Reply-To: <CIEEIPPHEMBKLIMPEJFBAEKOCAAA.graham@bravenet.com>
References:   <CIEEIPPHEMBKLIMPEJFBAEKOCAAA.graham@bravenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help


--On 04 July 2001 11:47 -0700 Graham White <graham@bravenet.com> wrote:

> Greetings, I am trying to set up a script file to be automatically run by
> cron every morning.  The script works when I manually execute it. The path
> and time variables for the script file are correct but when the time comes
> for it to run nothing happens.  If I set up the crontab file with the
> command(that I have in the script file) itself rather than the path to the
> script file it works! I've tried different permission settings but no
> luck. Any suggestions?

It'd probably be handy if you posted exactly what you'd put in the cron?

Most the time I put items in the crontab (especially scripts) they fall 
foul of not having the same PATH that my shell usually has... I usually 
remember to test them by running up a seperate, very basic /bin/sh, and 
seeing if they fly from that...

-Kp

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?125203352.994276476>