From owner-freebsd-questions Thu Jun 21 9:34:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cartman.techsupport.co.uk (cabletel1.cableol.net [194.168.3.4]) by hub.freebsd.org (Postfix) with ESMTP id 33A2537B401 for ; Thu, 21 Jun 2001 09:34:14 -0700 (PDT) (envelope-from ceri@techsupport.co.uk) Received: from ceri by cartman.techsupport.co.uk with local (Exim 3.30 #1) id 15D7Qw-0004BX-00; Thu, 21 Jun 2001 17:35:54 +0100 Date: Thu, 21 Jun 2001 17:35:54 +0100 From: Ceri To: Trevin Chow Cc: 'James Housley' , questions@freebsd.org Subject: Re: logging of /usr/libexec/atrun Message-ID: <20010621173554.A15815@cartman.techsupport.co.uk> References: <3B321EE1.8BC71E1D@thehousleys.net> <20010621173251.A14974@cartman.techsupport.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010621173251.A14974@cartman.techsupport.co.uk>; from ceri@techsupport.co.uk on Thu, Jun 21, 2001 at 05:32:51PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 21, 2001 at 05:32:51PM +0100, Ceri said: > On Thu, Jun 21, 2001 at 09:28:04AM -0700, Trevin Chow said: > > > > >Instead just filter out the atrun lines. > > >grep -v atrun /var/log/cron | more > > > > This doesn't work too well since the cron logs are getting archived in > > cron.0.gz, cron.1.gz, etc after a certain size I'm guessing? So I have > > to unzip each of the cron logs to find what I want... or is there a > > better way? > > gzip -dc cron.[0-9].gz | grep -v atrun /var/log/cron | more Rather gzip -dc cron.[0-9].gz | grep -v atrun | more Whoops. Ceri -- I probably wouldn't like you. Really. I really probably wouldn't like you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message