🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #619

expire enhancements

#619
From: Heather Burris/
Date: Wed, 01 Aug 1990 17:05
20 lines
1590 bytes
Have any of you enhanced expire to accept different expiration periods
for different news categories on the same command line?  I would like
to do (something like) the following:

expire -n junk control -e 1 -n alt talk -e 14 -n <the rest> -e 21 <other opts>

A cursory look at the source code indicates that a list of structures 
mapping news category/group to expiration period would have to be crafted
in to implement such a thing.  I think the work involved in doing so would
be well warrented, considering that running multiple expires back-to-back 
takes an exceedingly long amount of time. It appears to me that
rebuilding the history file is a large part of the time.

If no one has implemented this yet, I'll plan to get to it soon, but I thought
I'd check before reinventing the wheel. Also, if anyone has an opinion
on whether it is or isn't a good idea, let me know.

Heather Burris
Operations Manager, SEASnet, UCLA
Technical Details
Message-ID: <948@lee.SEAS.UCLA.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!math.lsa.umich.edu!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!ucivax!ucla-cs!ucla-seas!babbage.seas.ucla.edu

Show Full Headers
Complete Article Headers
Message-ID: <948@lee.SEAS.UCLA.EDU>
Subject: expire enhancements
Date: Wed, 01 Aug 1990 17:05:26 +0000
From: heather@babbage.seas.ucla.edu (Heather Burris/)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!math.lsa.umich.edu!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!ucivax!ucla-cs!ucla-seas!babbage.seas.ucla.edu
Newsgroups: news.software.nntp
Sender: news@SEAS.UCLA.EDU
Organization: SEASnet, University of California, Los Angeles
Lines: 19