[mrtg] keep getting cron warning mails even...
mrmrmrmr at gmail.com
Thu Jan 22 20:02:13 CET 2009
Thanks for your suggestions.
"--logging=mrtg.log" is a good idea which I was not aware of.
I'll try that. I have to find how to configure logrotate.d :)
On Wed, 2009-01-21 at 13:47 -0800, mrmrmrmr wrote:
> you are not talking to yourself
nabble users sometimes fail to understand that this is a free-standing
> but I don't understand your comment.what is
> the relevance with OS ?
Because cron has little vagaries between distros, and bash more so....
> This is a Linux installation. Distro is CentOS 4.
If you really don't want mail messages, then add MAILTO="" at the top of
Or, port everything to a logfile:
[mcdonalddj at ldap ~]$ sudo cat /etc/cron.d/mrtg
*/5 * * * * mrtg /usr/local/bin/mrtg /var/mrtg/cfg/mrtg.cfg
With the --logging directive, there is no output, except to the log
file. I added mrtg.log to logrotate.d as well.
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
View this message in context: http://n2.nabble.com/keep-getting-cron-warning-mails-even...-tp2187838p2199476.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.
More information about the mrtg