[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logcheck question



Kenneth Macdonald Karlsen wrote:
Hi. I am running stable and just installed logcheck
I get this mail:

run-parts: component /etc/cron.d/logcheck is not an executable plain file

/etc/cron.d isn't called from run-parts. What is in your /etc/crontab?

in /etc/cron.d/ i have this:
-rw-r--r--    1 root     root          147 Feb 21  2002 logcheck

run-parts executes the files in /etc/cron.daily, cron.weekly ... so the files must have a x-bit.

the contents of file:
ken@pingu:/etc/cron.d$ cat logcheck
@reboot root test -x /usr/sbin/logcheck && nice -n10 /usr/sbin/logcheck 2 * * * * root test -x /usr/sbin/logcheck && nice -n10 /usr/sbin/logcheck
ken@pingu:/etc/cron.d$

I am used to just installing a package and it works.
Can someone enlighten me in whats wrong?

Check your /etc/crontab if run-parts is invoked with /etc/cron.d/

Regards Udo



Reply to: