From owner-freebsd-questions Thu Jun 21 9:31: 3 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 B1BDE37B406 for ; Thu, 21 Jun 2001 09:31:01 -0700 (PDT) (envelope-from ceri@techsupport.co.uk) Received: from ceri by cartman.techsupport.co.uk with local (Exim 3.30 #1) id 15D7Nz-0003y8-00; Thu, 21 Jun 2001 17:32:51 +0100 Date: Thu, 21 Jun 2001 17:32:51 +0100 From: Ceri To: Trevin Chow Cc: 'James Housley' , questions@freebsd.org Subject: Re: logging of /usr/libexec/atrun Message-ID: <20010621173251.A14974@cartman.techsupport.co.uk> References: <3B321EE1.8BC71E1D@thehousleys.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from trevin@mail.com on Thu, Jun 21, 2001 at 09:28:04AM -0700 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 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 ? 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