Wanted: smart expire scripts

Brian Hilchie brian at alzabo.UUCP
Tue Feb 7 16:21:28 AEST 1989


First off I would like to apologize if there is a more appropriate
newsgroup for this request.  I don't yet have a full feed.

Due to limited disk space I would like a set of shell scripts to
enable the news expire program to behave in a reasonably intelligent
manner.  They should run once a day,  and ideally would do the
following:

- archive all sources and binaries newsgroups to tape,  and maintain
  an on-line directory so that users will know what's on tape and
  can request programs that interest them

- scan every user's .newsrc file and expire articles in newsgroups
  that nobody subscribes to after one or two days

- check the amount of free disk space,  and if it is below X% decrease
  the expire time for all remaining newsgroups by a day;  if it is
  above X% increase it by a day

I would write them myself but my time is limited, and I'm sure
something like this must have been done before.  Scripts for
SCO Xenix 2.3 would be most appreciated,  but I can modify those
written for other flavours of UNIX.

If nobody has such things I will write them (some day) and post them
if there is sufficient interest.  Thanks...
-- 
Brian Hilchie   <>   brian at alzabo.uucp   <>   uunet!mitel!sce!scs!alzabo!brian

"I try to make everyone's day a little more surreal."



More information about the Comp.unix.questions mailing list