From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 04:40:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2923916A4CE for ; Wed, 17 Mar 2004 04:40:32 -0800 (PST) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4A6E43D69 for ; Wed, 17 Mar 2004 04:40:29 -0800 (PST) (envelope-from jdarnold@buddydog.org) Received: (qmail 22880 invoked from network); 17 Mar 2004 12:40:29 -0000 Received: from dsl092-076-225.bos1.dsl.speakeasy.net (HELO buddydog.org) ([66.92.76.225]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Mar 2004 12:40:29 -0000 Message-ID: <4058475B.3040604@buddydog.org> Date: Wed, 17 Mar 2004 07:40:59 -0500 From: Jonathan Arnold User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040310 MultiZilla/1.6.0.0e X-Accept-Language: en-us, en, ja MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG References: <1786.192.168.1.17.1078889122.squirrel@mail.pyrospheric.net> In-Reply-To: <1786.192.168.1.17.1078889122.squirrel@mail.pyrospheric.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Cron job without emailing errors to root? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 12:40:32 -0000 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 :/ 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@buddydog.org) Daemon Dancing in the Dark, a FreeBSD weblog: http://freebsd.amazingdev.com/blog/