Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 12:53:20 -0500
From:      Michael Lucas <mwlucas@blackhelicopters.org>
To:        cjclark@alum.mit.edu
Cc:        questions@FreeBSD.ORG
Subject:   Re: script to process tar/cron output?
Message-ID:  <20010216125320.A34678@blackhelicopters.org>
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
References:  <20010214202923.A28510@blackhelicopters.org> <20010215005002.U62368@rfx-216-196-73-168.users.reflex>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010216125320.A34678>