LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cron log empty (https://www.linuxquestions.org/questions/slackware-14/cron-log-empty-254494/)

plisken 11-13-2004 06:56 PM

cron log empty
 
I'm using slack 9.1 and have "only" recenlt noticed that my con logs are empty.
/var/log/cron , /var/log/cron1. etc.etc

I know my cron jobs are getting carried out but I would like to have this logged, how should I go about configuring it?

Thanks in advance...

shreev 11-17-2004 02:05 AM

Hi,
Check the rc scripts(/etc/rc.d/*) where crond is getting started...as I remember it currently starts with a level 10, which should be changed to 8 to get it to log stuff.

HTH..
:D

shreev 11-17-2004 09:00 AM

ok... to be a little less vague... :D

In /etc/rc.d/rc.M, there is a line where crond is started, change the argument given to crond to -l8, i.e.

before: /usr/sbin/crond -l10 >>/var/log/cron 2>&1
after: /usr/sbin/crond -l8 >>/var/log/cron 2>&1

should work OK now..

HTH


All times are GMT -5. The time now is 10:04 PM.