Date: 03 Nov 2005 07:23:56 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Russell Cloran <russell@rucus.net> Cc: freebsd-questions@freebsd.org Subject: Re: periodic scripts execution order Message-ID: <44r79x9axv.fsf@be-well.ilk.org> In-Reply-To: <1130936261.22018.8.camel@localhost.localdomain> References: <1130936261.22018.8.camel@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
Russell Cloran <russell@rucus.net> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44r79x9axv.fsf>