Re: periodic scripts execution order
Russell Cloran <[EMAIL PROTECTED]> writes: > I have a question regarding the execution order of periodic scripts. In > the default configuration, scripts in /etc/periodic/*/ are executed > before /usr/local/etc/periodic/*/, regardless of numbering. > > Surely the sensible thing to do would be to execute scripts in an order > based on their numbering of the script, regardless of location? A patch > to /usr/sbin/periodic to make this happen would be fairly trivial ... > so, I'm wondering if there is a reason that the two are run separately? > > The way it currently runs there is no (elegant) way (that I can find) to > write a local script which updates data before the system scripts are > run. This would be nice to have. Should this be filed as a bug? In my opinion, no. Just put your own scripts under /etc/periodic and be done with it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
periodic scripts execution order
Hi, I have a question regarding the execution order of periodic scripts. In the default configuration, scripts in /etc/periodic/*/ are executed before /usr/local/etc/periodic/*/, regardless of numbering. Surely the sensible thing to do would be to execute scripts in an order based on their numbering of the script, regardless of location? A patch to /usr/sbin/periodic to make this happen would be fairly trivial ... so, I'm wondering if there is a reason that the two are run separately? The way it currently runs there is no (elegant) way (that I can find) to write a local script which updates data before the system scripts are run. This would be nice to have. Should this be filed as a bug? Thanks in advance, Russell -- echo http://russell.rucus.net/spam/| sed 's,t/.*,t,;P;s,.*//,,;s,\.,@,;' smime.p7s Description: S/MIME cryptographic signature