Article View: news.software.nntp
Article #13870Re: Expiring Problem
From: Harrison Bergeron
Date: Wed, 08 Jan 1997 00:00
Date: Wed, 08 Jan 1997 00:00
31 lines
1484 bytes
1484 bytes
Ted Deppner ted@jasmine.psyber.com prognosticated profusely:
>In article <32c830d6.60481952@news.muskoka.net>, <rick@muskoka.net> wrote:
>>
>>find /var/news/spool -type f -ctime +3 -exec rm -rf {} \; &
>>
>
>That's pretty expensive, and potentially dangerous... ( and there is
>no need for -r on rm )
>
>find /var/news/spool -type f -ctime +3 | xargs rm -f
>
>is far more effecient... best would be some fastrm variant though.
>
And will leave dangling symlinks. Try ! -type d
How about changing the first line in expire.ctl that tells it
what to expire, to:
*:A:0:0:0
then changing the cron entry to start news.daily in 1 minute?
If your desparate, then delete a few binaried until news.daily
gets to really deleting stuff.
--
davids@davids.psyberlink.net
Technical Details
Message-ID:
<slrn5d73nr.7un.root@davids.psyberlink.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: <slrn5d73nr.7un.root@davids.psyberlink.net> Subject: Re: Expiring Problem Date: Wed, 08 Jan 1997 00:00:00 +0000 From: root@davids.psyberlink.net (Harrison Bergeron) 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: 208483001 Organization: hexagonal closest packing Reply-to: davids@davids.psyberlink.net Newsgroups: news.software.nntp