🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6725

scripts to build explist?

#6725
From: Mike Mitchell
Date: Fri, 19 Apr 1996 00:00
20 lines
1562 bytes
I've been quite happy running expires based on time, but now I'm
forced to do expires based on space, too.  I am running C news (CR.G).
We only feed one or two other sites, so we don't need the wiz-bang
features of INN.  

I want to expire things like comp, sci, and alt based on time, but
then expire other groups only when I'm short of space.  I also don't
want more than a few thousand articles in any newsgroup expired by space.
I was thinking I could write up a perl script to scan the active file
and the spool directory and from that information create an 'explist'
file.  The normal expire could handle it from there.

Has anyone written a perl script like that?
-- 
------------------------------------------------------------------------------
Mike Mitchell		"Some of you are harmonies to all the notes I play.
mcm@unx.sas.com		 Although we may not meet, still you know me well."
(919) 677-8000 X6793			-- Al Stewart

Technical Details
Message-ID: <Dq4H3v.53I@unx.sas.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

Show Full Headers
Complete Article Headers
Message-ID: <Dq4H3v.53I@unx.sas.com>
Subject: scripts to build explist?
Date: Fri, 19 Apr 1996 00:00:00 +0000
From: mcm@gorgon.unx.sas.com (Mike Mitchell)
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: 150368651
X-nntp-posting-host: gorgon.unx.sas.com
Sender: news@unx.sas.com (Noter of Newsworthy Events)
Organization: SAS Institute Inc.
Newsgroups: news.software.b,news.software.nntp