Date: Wed, 4 Oct 2006 13:43:25 +0100 From: RW <list-freebsd-2004@morbius.sent.com> To: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: Re: Strange cron behavior Message-ID: <200610041343.26488.list-freebsd-2004@morbius.sent.com> In-Reply-To: <20061004000523.GA5229@teddy.fas.com> References: <20061004000523.GA5229@teddy.fas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 04 October 2006 01:05, stan wrote: > I'm having a hard time getting cron to run a task. I've run crontab -e > (as root), and added the following line: > > 12 * * * * /usr/local/bin/mirror_ubuntu > > This script runs from teh command line. Now I've seen plenty of > strange beahviour because of the limited environment cron tasks > get, but a basic "echo "test" >> /tmp/stan isn't even creating > the file. You can set environmental variables in the crontab file, see crontab(5)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610041343.26488.list-freebsd-2004>