Re: cron.weekly

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



On 9/16/2014 13:24, Matt wrote:
If I have multiple files in cron.weekly and one script takes hours to
finish.  Will it block other scripts in cron.weekly?

I doubt it, based on the results of this crontab on EL7:

51 13 * * * echo start 1 ; sleep 2m ; echo end 1
51 13 * * * echo start 2 ; sleep 2m ; echo end 2

At 13:51, nothing appeared in my mail file. Two minutes later, two different messages appeared, each with the expected "echo" outputs. Thus, they must have run in parallel.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux