Question
Rochdi Badis · Jan 10

How Job queues are processed in Ensemble

Hi Guys,

I have a scheduled task that run every 5 mins to execute a function with 10 things to do, issue that those 10 thing are processed in a loop that takes more than 7 mins to finish, so basically I would like to understand what will happen when the task will run in next 5 mins given that the 10 things to do in my function from the first run didn't finish yet, would it ignore what's left from the 10 things to do and start again or the first run or would the first run  continue to execute in some job # and the new run will run in parallel with new Job#, and if that's the case would this affrect the system performance or is it better to expand my scheduled task eg. to 10 mins to ensure that all 10 things has been completed ?

Thanks

Product version: Caché 2014.1
1
0 107
Discussion (1)1
Log in or sign up to continue

scheduled task that run every 5 mins  

Assuming task is scheduled like this:

it would be scheduled to run again 5 minutes after the completion of a last task execution, so there's no issue with several copies of a task running in parallel.