Article View: news.software.nntp
Article #13654Re: Expiring Problem
From: Dan Foster
Date: Tue, 31 Dec 1996 00:00
Date: Tue, 31 Dec 1996 00:00
22 lines
1502 bytes
1502 bytes
>In article <32c830d6.60481952@news.muskoka.net>, <rick@muskoka.net> wrote:
>>
>>find /var/news/spool -type f -ctime +3 -exec rm -rf {} \; &
Besides... if you have any groups that has a retention period longer than
3 days, you'll wipe out articles in them *without* making the appropriate
changes in the right files - and clients will get confused when they try
to retrieve a supposedly valid post but gets nothing back.
Ie if you have local groups that you store news for 30, 60, or 90 days (or
some such variant).
So, best suggestion: narrow down (make more specific) which hierarchies in
/var/news/spool you want to apply this find/rm to. Or just create a script
with all the specific finds? That way you won't overlook something by
accident (easy to do with 3am cleanup jobs ;-) )
-Dan Foster
Internet: dsf@frontiernet.net
Technical Details
Message-ID:
<5aaafi$s7q@node5.frontiernet.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5a7oph$6sv@alpine.psnw.com> <32c830d6.60481952@news.muskoka.net> <5aa5gh$65d$1@warez.psyber.com>Show Full Headers
Complete Article Headers
Message-ID: <5aaafi$s7q@node5.frontiernet.net> Subject: Re: Expiring Problem Date: Tue, 31 Dec 1996 00:00:00 +0000 From: dsf@node5.frontiernet.net (Dan Foster) References: <5a7oph$6sv@alpine.psnw.com> <32c830d6.60481952@news.muskoka.net> <5aa5gh$65d$1@warez.psyber.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 206889251 Distribution: inet Organization: Frontier Internet, A reliable part of your life Newsgroups: news.software.nntp