Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 00:50:02 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: script to process tar/cron output?
Message-ID:  <20010215005002.U62368@rfx-216-196-73-168.users.reflex>
In-Reply-To: <20010214202923.A28510@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Wed, Feb 14, 2001 at 08:29:23PM -0500
References:  <20010214202923.A28510@blackhelicopters.org>

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




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