Strange cron behavior

RW list-freebsd-2004 at
Wed Oct 4 05:43:29 PDT 2006

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)

More information about the freebsd-questions mailing list