🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7845

Re: Dynamic expire times

#7845
From: Dave Sill
Date: Tue, 21 May 1996 00:00
55 lines
2686 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <4nqr22$11p6@ausnews.austin.ibm.com> rhaig@austin.ibm.com (Robert Haig) writes:

> I'm working on writing a perl script that would change the expire
> times of groups based on their average readership over the last X
> days.

Good idea, but it's already been done:

# Active Groups -- Detecting actively accessed news groups and setting 
#               expire.ctl accordingly
$progname       =       "actgroups";
$version        =       "Ver 0.03b,  18 August 1994";
$author         =       "Yufan Hu <Y.Hu@ulst.ac.uk>";
require 'getopts.pl';
# Usage: run actgroups everyday before expire starts. You can put it
#        in the crontab to start it before news.daily. It is essential to
#        run actgroups before the news.notices file is moved to OLD and
#        gets compressed.
# Or:
#       actgroups -l logfile
# for initialising the active group database
# The log file and expire.ctl file are assumed to be of INN 1.4
# Other options are:
#                 -d       turn on debugging
#                 -m       mail results to news user
#                 -h       do not keep a "hosts" log
#
# Copyright: Copyrighted by Yufan Hu <Y.Hu@ulst.ac.uk>, 1994
#
# Disclaim: Use it at your own risk.

> I'm curious how my runtime for expire will be affected if I go from a 
> 50 line expire.ctl to an 800 line expire.ctl.

Mine's 1100 lines and I haven't noticed it taking significantly
longer.

-----BEGIN PGP SIGNATURE-----
Version: 2.7.1
Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface

iQEVAwUBMaIES6eaUEng/PKPAQGN9Af+NmB3Iy+nWWvAoQ6/CzrVU/ZpRDcyCc+I
XUqN9le/A/piKqeS+077MJKV5SUsGXrD6WoypehIMAmhduzrZa0+5uaCdJI0BlOZ
+CjuR1EXRMH4/GRTeMj8Y1Xe9QgyQwA6EvfVAPoYgeR0pjyCleIZt9BCuyyjqTOD
WzKALthbvZDHyMwQ197ccl62HhWU6t5gqBvi0C2ya5yOYh+jL4u2Q9AGpGb4Yrbz
h1ewOQpVdjGQ+GDwkjjRdmwXzB5HMjKqNYJeVg+jswsI7cIMk9utY9tNvYvHmegf
7keGDJpDzUQJ4tUxsl4eZk3Mj0EPsp9JYFVUiAVzBreXU4al9jBECw==
=TDWZ
-----END PGP SIGNATURE-----


Technical Details
Message-ID: <DE5.96May21135857@sws5.CTD.ORNL.Gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
References: <4nqr22$11p6@ausnews.austin.ibm.com>

Show Full Headers
Complete Article Headers
Message-ID: <DE5.96May21135857@sws5.CTD.ORNL.Gov>
Subject: Re: Dynamic expire times
Date: Tue, 21 May 1996 00:00:00 +0000
From: de5@sws5.CTD.ORNL.Gov (Dave Sill)
References: <4nqr22$11p6@ausnews.austin.ibm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 155963591
Distribution: world
Sender: zorch@ftp.UU.NET
Organization: Oak Ridge National Lab, Oak Ridge, Tenn., USA
Newsgroups: news.admin.technical,news.software.nntp