[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Order of cron.daily jobs



On 06/01/12 03:31, Vincent Lefevre wrote:
> On 2012-01-04 16:59:27 +0000, Camaleón wrote:
>> On Wed, 04 Jan 2012 01:18:35 +0100, Vincent Lefevre wrote:
>>> The point is that the behavior can depend on the locales. To avoid that,
>>> users should use only lowercase letters for the name of these scripts
>>> and be careful with the non-alphabetic characters.
>>
>> Yup, but this can be found by simply "trial and error" tests.
> 
> Not always simply. Moreover, the choice that has been made may work,
> then you forget it, then a few months or years later, you modify the
> default locales, and a few months later, you notice that something
> is going wrong. Finding the cause is not so easy.
> 

This whole conversation seems strange to me.

If you want a bunch of jobs to be run in a specific order, they're
related - so why not put them all in the same script? Then you can do
clever things like checking if the previous one actually succeeded. And
you don't need to care if the implementation of cron.daily changes, and
it's simpler to call it from cron.d if you decide to run it at a
specific time, or whatever.

Richard


Reply to: