From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 00:39:43 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43D5616A4CE for ; Wed, 9 Mar 2005 00:39:43 +0000 (GMT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE26143D53 for ; Wed, 9 Mar 2005 00:39:42 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id EE7585643E; Wed, 9 Mar 2005 13:39:40 +1300 (NZDT) Date: Wed, 9 Mar 2005 13:39:40 +1300 From: Jonathan Chen To: Richard Mcintyre Message-ID: <20050309003940.GA45954@osiris.chen.org.nz> References: <422E2590.9050605@thecompanyonline.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <422E2590.9050605@thecompanyonline.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Problems with Cron not deleting log files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 00:39:43 -0000 On Tue, Mar 08, 2005 at 05:22:08PM -0500, Richard Mcintyre wrote: > All, > > I am having a problem. Back in December I installed FreeBSD5.3 onto a > server and have just recently found some new time to 'play' with the > settings etc. > > I think I know what happened but I'm not sure how to fix it. > > I currently have a 'large number' of auth.log.xxxxx and cron.xxxxxx > files under /var/log. Use newsyslog(8) and /etc/newsyslog.conf to manage your log files instead of your home-grown non-working method. -- Jonathan Chen ---------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard