Crontab not working logwatch.pl [FreeBSD 8 stable]

Jeronimo Calvo jeronimocalvop at googlemail.com
Wed Jan 13 20:44:06 UTC 2010


Hi folks,

Im having probs when a root crontab located on /var/cron/tabs/root

with this content
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.DUtgfVoBT0 installed on Wed Jan 13 20:08:29 2010)
# (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v
1.31.2.1 2009/08/03 08:13:06 kensmith Exp $)
* * * * * ~/.profile ; /bin/bash /var/log/auto_auth.sh
* * * * * ~/.profile ; /usr/bin/perl /local/sbin/logwatch.pl

both of them are sending logs to my email, when runned from the
command line works, but not from crontab
any ideas?

-- 
() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions


More information about the freebsd-questions mailing list