Path: utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!umich!yale!cs.utexas.edu!uwm.edu!rutgers!bellcore!texbell!vector!holston!barton From: barton@holston.UUCP (Barton A. Fisk) Newsgroups: news.software.b Subject: Re: What to do with evergrowing history and log files Summary: use expire withe the "-r" option Keywords: help Message-ID: <5658@holston.UUCP> Date: 11 Jan 90 00:25:02 GMT References: <169@metaware.metaware.com> Organization: Barton A. Fisk & Co. Lines: 20 In article <169@metaware.metaware.com>, adam@metaware.metaware.com (At these prices, I can't NAME names) writes: > > Hi, I not too recently installed the B news software here and > it has all gone quite well. However, it seems that my history and log > files grow without end and are never pruned. I have looked and it is > not obvious to me how to get the software to prune these. I hesitate to > simply delete them from time to time. Is there an accepted method? > It is a good tonic to run this regularly: find SPOOLDIR -size 0 -o -mtime +90 -exec rm -f {} ; /usr/lib/news/expire -r This will remove old junk leftover in the spool directory and then rebuild your history file. First delete the history file of course. -- Barton A. Fisk | UUCP: {attctc,texbell}vector!holston!barton PO Box 1781 | (PSEUDO) DOMAIN: barton@holston.UUCP Lake Charles, La. 70602 | ---------------------------------------- 318-439-5984 | "Let him who is without sin cast the first stone"-JC