🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.b
1 messages
1 total messages Started by Hans de Graaff Sun, 24 Jan 1993 17:38
Smart expire utility
#5030
Author: Hans de Graaff
Date: Sun, 24 Jan 1993 17:38
30 lines
1877 bytes
I have been thinking about a smart expiration utility for some time
now, but before I start to write the thing I'd like to know whether
there are already others who have done this.

Like everybody else I hate it when the disk space for the newsspool
sits there half-empty because not enough people type text around the
world. The obvious solution is to run expireiflow, and that helps
some. However, we have different expiration policies for different
newsgroups here, and I find some groups to be way more valuable then
others. Here's the scheme I propose:

The smartexpire script first looks at the dispspace, and decides
whether expiration is needed. If it is, it expires according to the
first rule in the expire-list. It then checks whether enough space is
freed up. If there is, smartexpire stops. Otherwise, it expires
according to the second line, checks again, etc.

This way, important stuff can be at the bottom of the expire-list, and
therefore stay on the system much longer, while crap can be deleted
way fast.

If somebody has alreay written something like this I'd like to know.
Otherwise I might give it a try, so comments are also welcomed.

Hans
-- 
Hans de Graaff                  | I want someone to follow,
J.J.deGraaff@IS.TWI.TUDelft.NL  |   who doesn't lead the way
Department of Informatics       | I want someone to listen,
Delft University of Technology  |   who won't repeat what I say
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads