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... |
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 |
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. |