Date: Wed, 10 Mar 2004 02:45:06 -0600 From: Quintin Riis <webmaster@countrypure.net> To: phoetoid@pyrospheric.net Cc: freebsd-questions@freebsd.org Subject: Re: Cron job without emailing errors to root? Message-ID: <404ED592.609@countrypure.net> In-Reply-To: <1786.192.168.1.17.1078889122.squirrel@mail.pyrospheric.net> References: <1786.192.168.1.17.1078889122.squirrel@mail.pyrospheric.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 See documentation for crontab. ``MAILTO=""'' should do what you want, or send all output from command to /dev/null, i.e. command &> /dev/null Quintin phoetoid@pyrospheric.net wrote: | A quick question-- | I run MRTG for many boxes on my network at five minute intervals, and I am | seeing massive amounts of email filling up roots inbox due to boxes that | are currently offline for the night or something. | | What I am wondering is, is if there is a way to still have the entries in | me /etc/crontab to run MRTG at 5 minute intervals without having any | output emailed out. can i make it come out to concole instead? anything to | get it from emailing would be great as I am seeing ~2000 messages a day :/ | | Many thanks | | _______________________________________________ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" | | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFATtU/kt6kXuDr+LcRAi80AJwIsnuyb+qjXcyvVBHig1KKtV9SzACgvB8w etEVNGDLyg2vfNWPhCD7Axw= =s/nF -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?404ED592.609>