How can I prevent cron from filling up my syslog?
Posted
by
user7321
on Server Fault
See other posts from Server Fault
or by user7321
Published on 2009-06-25T01:00:54Z
Indexed on
2012/11/02
5:10 UTC
Read the original article
Hit count: 472
I have a script which needs to be executed each minute. The problem is that cron is logging to /var/log/syslog each time it executes. I end up seeing something like this repeated over and over in /var/log/syslog-
Jun 25 00:56:01 myhostname /USR/SBIN/CRON[1144]: (root) CMD (php /path/to/script.php > /dev/null)
btw- i'm using debian
My questions is- Is there any way I can tell cron not write this information to syslog every time?
© Server Fault or respective owner