Xref: utzoo comp.sources.wanted:6293 comp.unix.questions:11595 comp.unix.xenix:4868 Path: utzoo!attcan!uunet!mitel!sce!cognos!alzabo!brian From: brian@alzabo.UUCP (Brian Hilchie) Newsgroups: comp.sources.wanted,comp.unix.questions,comp.unix.xenix Subject: Wanted: smart expire scripts Message-ID: <314@alzabo.UUCP> Date: 7 Feb 89 06:21:28 GMT Reply-To: brian@alzabo.UUCP (Brian Hilchie) Organization: Aero Animation, Ottawa, Canada Lines: 30 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@alzabo.uucp <> uunet!mitel!sce!scs!alzabo!brian "I try to make everyone's day a little more surreal."