Date: Wed, 02 Nov 2005 14:57:41 +0200 From: Russell Cloran <russell@rucus.net> To: freebsd-questions@freebsd.org Subject: periodic scripts execution order Message-ID: <1130936261.22018.8.camel@localhost.localdomain>
next in thread | raw e-mail | index | archive | help
--=-ayBcfe7JjiqXxDuUhxsB Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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?=20 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 --=20 echo http://russell.rucus.net/spam/| sed 's,t/.*,t,;P;s,.*//,,;s,\.,@,;' --=-ayBcfe7JjiqXxDuUhxsB Content-Type: application/x-pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGPzCCAvgw ggJhoAMCAQICAw6PQDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDUwNDI1MTQ1MTU1WhcNMDYwNDI1MTQ1MTU1WjBsMQ8wDQYDVQQE EwZDbG9yYW4xFzAVBgNVBCoTDlJ1c3NlbGwgQW5kcmV3MR4wHAYDVQQDExVSdXNzZWxsIEFuZHJl dyBDbG9yYW4xIDAeBgkqhkiG9w0BCQEWEXJ1c3NlbGxAcnVjdXMubmV0MIIBIjANBgkqhkiG9w0B AQEFAAOCAQ8AMIIBCgKCAQ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zhgX1G9LihPL7ua4vECU1beWkXbEHv2hFrz3wjxhlgbdeZOkrYmQmgDl4gulbl+az8l7P jF+pm18NkMLrWEKaneD0EP3iLrtt//zufscotCDe3oBPA5G6tcBlSPRhFb/ruKnnXGPMumXGZfyc Ww6T5lga5hSP6vkqOMC8CKactAvo+pN5Qln/azz8HWJ9O/vT87tqh2Y+clsxaaBaTabpDT8KVYE0 a+jSIxnM+HxEh1rg9r2CbQwZqBTbG2lQT0PwN3eN0mzQJzDiwAt/750AAAAAAAA= --=-ayBcfe7JjiqXxDuUhxsB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1130936261.22018.8.camel>