Koozali.org: home of the SME Server

Preventing syslog clutter

Rob

Preventing syslog clutter
« on: November 15, 2002, 01:49:21 PM »
I have built a clever cronjob that runs every 5 minutes and checks the mail folders for new mail and beeps when there is some.

The /var/log/cron file fills up with the "Nov 15 02:30:00 sme1 CROND[4506]: (root) CMD (/root/check_mail)" every 5 minutes and I would like to stop this logging.

The man pages don't really explain, except for the use of a "!" somewhere.  I don't want to stop the cron logging compleatly, just the one cron.d entry.

Perhaps there is a way in the cron file to stop it from logging, kinda like a "mailto="?

Rob.