[mrtg] How do I suppress output of cfgmaker?
Pfirter Lukas
lp at rpag.ch
Wed Apr 18 13:33:15 CEST 2007
Hi Eric,
Take a look at how the first lines of my crontab look:
SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=""
MAIL=""
I think you should include MAILTO="" and MAIL="" to get no mails from
cron (this will disable ALL mails from cron daemon as far as I know).
I always do this and use "./command | mail -s 'subject' my at address.com"
for a specific cronjob if I want the output mailed to me.
Lucas
________________________________
Von: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] Im Auftrag von Eric Brander
Gesendet: Dienstag, 17. April 2007 16:52
An: mrtg at lists.oetiker.ch
Betreff: [mrtg] How do I suppress output of cfgmaker?
I have cfgmaker running as a cron job nightly on select devices
that change often. This works great of course, but every day I get an
email from cron with the output of the cfgmaker process. Is there anyway
to suppress it? I tried redirecting to null but that didn't seem to
work.
TIA,
--
Eric Brander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070418/9a385a13/attachment.htm
More information about the mrtg
mailing list