syslogd and exim cron job every 20 minutes
How would I get rid of the message about exim cron job being printed
at /dev/xconsole? This job runs every 20 minutes and I would like not
to see reports of it unless there was an error.
,----[ /dev/xconsole ]
| Jan 20 14:38:01 tea /USR/SBIN/CRON[5850]: (mail) CMD ( if [ -x \
| /usr/sbin/exim -a -f /etc/exim.conf ]; then /usr/sbin/exim -q \
| >/dev/null 2>&1; fi)
`----
I tried changing /etc/syslog.conf in several ways, but it seems like I
can't put my finger on just the right thing to say there. I tried
putting "mail.!*" and "cron.!*" into the last rule (the one that ends
in "|/dev/xconsole"), but it doesn't do the trick.
Any input greately appreciated!
--
Arcady Genkin
Don't read everything you believe.
Reply to: