From owner-freebsd-questions Thu Feb 15 0:50:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 24CAE37B401 for ; Thu, 15 Feb 2001 00:50:12 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 15 Feb 2001 00:48:12 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f1F8o3667122; Thu, 15 Feb 2001 00:50:03 -0800 (PST) (envelope-from cjc) Date: Thu, 15 Feb 2001 00:50:02 -0800 From: "Crist J. Clark" To: Michael Lucas Cc: questions@FreeBSD.ORG Subject: Re: script to process tar/cron output? Message-ID: <20010215005002.U62368@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: <20010214202923.A28510@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010214202923.A28510@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Wed, Feb 14, 2001 at 08:29:23PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 14, 2001 at 08:29:23PM -0500, Michael Lucas wrote: > Hello, > > We run tar each night out of cron. This results in a whole slew of > 2-meg email messages being sent to our root email readers. What is generating this? tar(1)? > Surely someone out there has/knows of a script that reads tar output > and looks for errors? I could easily enough write one to mail just > the last 20 lines or so of tar's output, but I'm not absolutely > certain that would catch all possible error conditions. tar(1) does not create output to stdout by default. Are you specifying the '-v' option? Don't. Error messages will still be reported. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message