Date: Thu, 14 Jan 2010 03:02:23 +0200 From: Kaya Saman <SamanKaya@netscape.net> To: Glen Barber <glen.j.barber@gmail.com> Cc: questions@freebsd.org Subject: Re: Crontab not working logwatch.pl [FreeBSD 8 stable] Message-ID: <4B4E6D1F.2030607@netscape.net> In-Reply-To: <20100114005341.GA67999@orion.hsd1.pa.comcast.net> References: <beaf3aa51001131243u44e86685g1abc4bb367dad93e@mail.gmail.com> <4B4E329D.4090806@lazlarlyricon.com> <beaf3aa51001131304w619e56c6y3745c1816752f64c@mail.gmail.com> <4B4E3778.1080609@lazlarlyricon.com> <20100114005341.GA67999@orion.hsd1.pa.comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 suggestions, I'd imagine an absolute path path to > /local/sbin/logwatch.pl is a problem as well. Unless /local/sbin exists, > of course. > > Regards, > > Many thanks for all the responses!! I copied the data into /etc/crontab using the root syntax as described before and I got sent an email straight away after restarting cron!! I am not sure why I decided to use a local crontab rather then system-wide one but I think I got confused somewhere along the lines with something?? At least it works :-) Regards, Kaya
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4E6D1F.2030607>