On Tue, 03 Jan 2012 03:10:57 +0100, Vincent Lefevre wrote:

> On 2012-01-02 18:22:15 +0000, Camaleón wrote:
>> On Mon, 02 Jan 2012 19:57:25 +0200, Andrei Popescu wrote:
>> 
>> > On Lu, 02 ian 12, 17:43:57, Camaleón wrote:
>> >> On Mon, 02 Jan 2012 17:27:18 +0000, T o n g wrote:
>> >> 
>> >> > How is the execution order of cron.daily jobs determined?
>> >> 
>> >> I think it is alphabetically.
>> >  
>> > No need to guess:
>> > 
>> > $ grep cron.daily /etc/crontab
>> > 25 6       * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts
>> > --report /etc/cron.daily )
>> > 
>> > so the scripts are executed by run-parts and its manpage says
>> > 
>> > ,----
>> > | Files are run in the lexical sort order of their names unless the |
>> > --reverse option is given, in which case  they  are  run  in  the |
>> > opposite order.
>> > `----
>> 
>> Tsk, tsk... you broke the magic.
>> 
>> (that was intended as homework for the OP ;-) )
> 
> Well, not everything has been said. You need to think a bit more about
> this. :)

Nah... the basics for making the script to run before/after another one 
placed there are already told. The rest of the problems (if any) are 
rather "cosmetics" ;-P

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2012.01.03.15.30...@gmail.com

Reply via email to