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)

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to