🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4317

Re: Refilling news spool after OS install

#4317
From: bill davidsen
Date: Fri, 26 Jan 1996 00:00
23 lines
1519 bytes
In article <4e5p28$dvq@sulawesi.lerc.nasa.gov>,
Richard A Haas <rhaas@lerc.nasa.gov> wrote:
| Below is an email reply that answered this ... looks like I was
| making it more complex than necessary.  
| 
| A quick:
| 
| find /var/spool/news -type f -ctime +10 -print > /tmp/oldarticles  
| innxmit -r -v news /tmp/oldarticles

This is only practical if you have a tiny news spool. I can imagine
that running several hours on a site with a full feed and reasonable
retention, say 4-6G of news.

The correct solution is to scan the history file for all articles
older than ten days and still online. Takes about 20 sec and doesn't
beat the disk.
--
	Bill Davidsen (davidsen@tmr.com)
Davidsen's first rule of system administration:
  He learns to swim fastest who is thrown in the deepest water.

Technical Details
Message-ID: <4eamkk$on0@usenetw1.news.prodigy.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
References: <4e3iq6$jqf@sulawesi.lerc.nasa.gov> <4e5p28$dvq@sulawesi.lerc.nasa.gov>

Show Full Headers
Complete Article Headers
Message-ID: <4eamkk$on0@usenetw1.news.prodigy.com>
Subject: Re: Refilling news spool after OS install
Date: Fri, 26 Jan 1996 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <4e3iq6$jqf@sulawesi.lerc.nasa.gov> <4e5p28$dvq@sulawesi.lerc.nasa.gov>
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: 136571445
Distribution: inet
Organization: TMR Associates, Schenectady NY
Newsgroups: news.software.nntp,news.admin.misc
Originator: davidsen@darkstar.prodigy.com