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' [EMAIL PROTECTED]"
for a specific cronjob if I want the output mailed to me.
Lucas
________________________________
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Eric Brander
Gesendet: Dienstag, 17. April 2007 16:52
An: [email protected]
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
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg