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 ;-) )

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.02.18.22...@gmail.com

Reply via email to