Problems with Cron not deleting log files

Jonathan Chen jonc at chen.org.nz
Tue Mar 8 16:39:43 PST 2005


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 <jonc at chen.org.nz>
----------------------------------------------------------------------
                   "Lots of folks confuse bad management with destiny"
                                                         - Kin Hubbard


More information about the freebsd-questions mailing list