From owner-freebsd-questions@FreeBSD.ORG Wed Mar 10 00:22:45 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 D90FE16A4CF for ; Wed, 10 Mar 2004 00:22:45 -0800 (PST) Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mx1.FreeBSD.org (Postfix) with SMTP id DE13843D41 for ; Wed, 10 Mar 2004 00:22:40 -0800 (PST) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?219.95.246.247?) (khairil?yusof@219.95.246.247 with plain) by smtp011.mail.yahoo.com with SMTP; 10 Mar 2004 08:22:38 -0000 From: Khairil Yusof To: phoetoid@pyrospheric.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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dPhx0fsS26K54spHl/Ug" Message-Id: <1078906949.960.19.camel@wolverine.cerebro.net.my> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.5.5FreeBSD GNOME Team Port Date: Wed, 10 Mar 2004 16:22:30 +0800 cc: questions@freebsd.org 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, 10 Mar 2004 08:22:46 -0000 --=-dPhx0fsS26K54spHl/Ug Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-03-09 at 21:25 -0600, phoetoid@pyrospheric.net wrote: > 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 t= o > get it from emailing would be great as I am seeing ~2000 messages a day := / By default output is emailed, else it is piped to wherever you want it to go. Pipe it to /dev/null eg. @hourly /bin/dontcare.sh > /dev/null @hourly /bin/arrgh.sh | mail -subject "Server is down" user1 @hourly /bin/msg.sh | sendsms -phone 016 333 3333 --=-dPhx0fsS26K54spHl/Ug Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBATtBFDAqnLW/+/X8RApS6AJwKTod1oKqRKFO3YOv5isQnQVpt0ACggtGC kjtAkOvigrYb0zPdKEbB3GQ= =xL4r -----END PGP SIGNATURE----- --=-dPhx0fsS26K54spHl/Ug--