Date: Wed, 10 Mar 2004 06:18:56 +0100 (CET) From: "Frank Mueller" <Franky-Mueller@web.de> To: phoetoid@pyrospheric.net Cc: freebsd-questions@freebsd.org Subject: Re: Cron job without emailing errors to root? Message-ID: <49193.192.168.2.1.1078895936.squirrel@Matrix.Iceman> 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
See "man 5 crontab": If MAILTO is defined (and non-empty), mail is sent to the user so named. If MAILTO is defined but empty (MAILTO=""), no mail will be sent. So just add the following entry to your /etc/crontab: MAILTO="" and cron will send no more eMails. > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49193.192.168.2.1.1078895936.squirrel>