Cron job without emailing errors to root?

Jonathan Arnold jdarnold at buddydog.org
Wed Mar 17 04:40:32 PST 2004


phoetoid at 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 :/

Here's a little note I wrote in my blog about making a cron job *not*
send you email:

http://freebsd.amazingdev.com/blog/archives/000125.html

-- 
Jonathan Arnold     (mailto:jdarnold at buddydog.org)
Daemon Dancing in the Dark, a FreeBSD weblog:
     http://freebsd.amazingdev.com/blog/


More information about the freebsd-questions mailing list