🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17819

Re: news spool keeps growing

#17819
From: Alan Brown
Date: Fri, 16 May 1997 00:00
23 lines
1547 bytes
In article <5lags4$quj@jobe.cs.unc.edu>, Todd D. Taft <taft@cs.unc.edu> wrote:

>I won't call it nifty, but here's the hack that I threw together one
>night.  I use tmp files, rather than straight pipes, so I can look at
>what it tried to do later on, if I need to.  I also have hooks in to
>mail me if there was a problem.  They probably wouldn't be needed,
>except we have a wonderful policy of piping all output from cron
>commands to /dev/null....

If you don't pipe cron output to /dev/null, all that's needed is this:

~/news/bin/findmissing.pl | ~/news/bin/fastrm -us /var/spool/news

I just add it as a command after the expire run crontab, one night a week.

AB

-- 
o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
  "on" - See http://spam.abuse.net/spam/ http://www.sendmail.org/antispam.html

Technical Details
Message-ID: <5lfg15$igr@papaioea.manawatu.gen.nz>
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: <5k9pjc$3uc$1@panther.rmplc.co.uk> <R5kc3bu$sit@capefear.cs.unc.edu> <powers-0705972004560001@pc13.nwpacifica.net> <5lags4$quj@jobe.cs.unc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5lfg15$igr@papaioea.manawatu.gen.nz>
Subject: Re: news spool keeps growing
Date: Fri, 16 May 1997 00:00:00 +0000
From: alan@news.manawatu.gen.nz (Alan Brown)
References: <5k9pjc$3uc$1@panther.rmplc.co.uk> <R5kc3bu$sit@capefear.cs.unc.edu> <powers-0705972004560001@pc13.nwpacifica.net> <5lags4$quj@jobe.cs.unc.edu>
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: 241751610
Organization: PlaNet (NZ) Manawatu, +64 6 357-9245, +64 6 367-9944
Newsgroups: news.software.nntp