Subject: Re: misc/14825: /etc/{daily,weekly,montly} should be unified
To: Greg A. Woods <woods@weird.com>
From: Andrew Brown <atatat@atatdot.net>
List: netbsd-bugs
Date: 12/05/2001 09:53:55
[note that i've removed the gnats lists from this discussion.  there's
no reason for this to end up in the bug database.]

>Using dependency ordering will not currently work to select which
>arbitrary period might choose to execute a script, though of course
>extra magic could be added to enable a filter to assist in the
>selection.  However adding magic upon magic is only asking for trouble.

i've started this project a few times, and come to the conclusion that

* all the jobs from /etc/{daily,weekly,monthly,security} can be little
scripts unto themselves in a directory called, for example,
/etc/periodic.d

* you can have {daily,weekly,monthly,security,periodic}.conf files,
along with the associated separate ones for backwards looking

* the dependency ordering that rcorder can provide is more than
sufficient, therefore hard links or symbolic links or any other
sysv-like organization mechanism is unnecessary

* moving a "job" from monthly or daily to weekly or monthly (or any
combination thereof) is trivial, whereas moving jobs in and out of
security is only slightly less trivial

* there are a few other things that i must do that are of more
immediate interest to me

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."