[mrtg] How do I suppress output of cfgmaker?

Ed LaFrance Ed.LaFrance at newmediaems.com
Wed Apr 18 18:31:17 CEST 2007

Hi Eric -

You could always just add something like >/etc/cfg.out to the end of 
the cronjob line - you'd get a small file named 'cfg.out' in your 
/etc directory (I'm assuming *nix here), but so what. 
FWIW, >/dev/null 2>&1 should successfully suppress the output.


At 06:52 AM 4/17/2007, Eric Brander wrote:
>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.
>Eric Brander
>mrtg mailing list
>mrtg at lists.oetiker.ch

:::::::::::::     PREMIUM COLOCATION SERVICES     :::::::::::::
New Media LLC                    info at servercolocation.ws
11630 Fair Oaks Blvd., #300      http://www.servercolocation.ws
Fair Oaks, CA  95628             (916) 961-0446
(866) 519-4680 Toll-Free         (916) 961-0447 Fax

More information about the mrtg mailing list