From owner-freebsd-questions Fri Feb 16 9:53:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 50BCC37B69C for ; Fri, 16 Feb 2001 09:53:27 -0800 (PST) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id MAA34695; Fri, 16 Feb 2001 12:53:20 -0500 (EST) (envelope-from mwlucas) Date: Fri, 16 Feb 2001 12:53:20 -0500 From: Michael Lucas To: cjclark@alum.mit.edu Cc: questions@FreeBSD.ORG Subject: Re: script to process tar/cron output? Message-ID: <20010216125320.A34678@blackhelicopters.org> References: <20010214202923.A28510@blackhelicopters.org> <20010215005002.U62368@rfx-216-196-73-168.users.reflex> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010215005002.U62368@rfx-216-196-73-168.users.reflex>; from cjclark@reflexnet.net on Thu, Feb 15, 2001 at 12:50:02AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You are absolutely correct. I am an idiot. Please pass me the user pointy hat. :) On Thu, Feb 15, 2001 at 12:50:02AM -0800, Crist J. Clark wrote: > 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 -- Michael Lucas mwlucas@blackhelicopters.org http://www.blackhelicopters.org/~mwlucas/ Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message