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

Re: Order of cron.daily jobs



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.
`----

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: