Crontab not working logwatch.pl [FreeBSD 8 stable]

2010-01-13 Thread Jeronimo Calvo
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

Re: Crontab not working logwatch.pl [FreeBSD 8 stable]

2010-01-13 Thread Rolf Nielsen
On 2010-01-13 21:43, Jeronimo Calvo wrote: 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:

Re: Crontab not working logwatch.pl [FreeBSD 8 stable]

2010-01-13 Thread Jeronimo Calvo
did a crontab -r, a a new crontab -e, using: * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl tailing the /var/log/cron I can see that is being executed every minute... but no emails arrived with is the proof that the

Re: Crontab not working logwatch.pl [FreeBSD 8 stable]

2010-01-13 Thread Rolf Nielsen
On 2010-01-13 22:04, Jeronimo Calvo wrote: did a crontab -r, a a new crontab -e, using: * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl tailing the /var/log/cron I can see that is being executed every minute... but no

Crontab not working??

2010-01-13 Thread Kaya Saman
Hi, I installed logwatch from ports only it didn't install a crontab for me like Linux or Solaris does so I ended up attempting to copy my Linux crontab into FreeBSD. 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:

Re: Crontab not working??

2010-01-13 Thread Chuck Swiger
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

Re: Crontab not working??

2010-01-13 Thread Kaya Saman
Thanks, I inputted the data as you suggested so now I will wait until the time specified to see if it ran or not! Regards, Kaya Chuck Swiger wrote: 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

Re: Crontab not working??

2010-01-13 Thread Thomas K.
On Thu, Jan 14, 2010 at 02:20:07AM +0200, Kaya Saman wrote: Hi, @reboot root/usr/local/sbin/logwatch.pl 02 4 * * * root/usr/local/sbin/logwatch.pl this format/syntax is only valid for the system contab. The interesting thing here is that it shows them as being run:

Re: Crontab not working logwatch.pl [FreeBSD 8 stable]

2010-01-13 Thread Glen Barber
Rolf Nielsen wrote: On 2010-01-13 22:04, Jeronimo Calvo wrote: did a crontab -r, a a new crontab -e, using: * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl In addition to the other suggestions, I'd imagine an

Re: Crontab not working logwatch.pl [FreeBSD 8 stable]

2010-01-13 Thread Kaya Saman
Glen Barber wrote: Rolf Nielsen wrote: On 2010-01-13 22:04, Jeronimo Calvo wrote: did a crontab -r, a a new crontab -e, using: * * * * * $HOME/.profile ; /bin/bash /var/log/auto_auth.sh * * * * * $HOME/.profile ; /usr/bin/perl /local/sbin/logwatch.pl In addition to the other