[CentOS] cron.weekly

Warren Young warren at etr-usa.com
Tue Sep 16 19:56:13 UTC 2014


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.



More information about the CentOS mailing list