Hi--

On Jan 13, 2010, at 4:20 PM, Kaya Saman wrote:
> It didn't work so I tried to cut down areas which I suspected might not work 
> and ended up with the syntax below for root:
> 
> crontab -l shows:
> 
> @reboot           root    /usr/local/sbin/logwatch.pl
> 02 4 * * *     root    /usr/local/sbin/logwatch.pl

You're using the syntax for a system-wide crontab, ie, /etc/crontab.  Per-user 
crontabs do not have the middle field listing the user to run as; re-run 
crontab -e and try this instead:

@reboot         /usr/local/sbin/logwatch.pl
02 4 * * *      /usr/local/sbin/logwatch.pl

Regards,
-- 
-Chuck

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

Reply via email to