Question john.smith4237 · Jul 31, 2024

Task Expired problem

Hi Guys,

Migrated our system from Ensemble 2014 to 2018 and but for some reason my tasks keep getting the attached error not sure why? 

Thanks

Product version: Ensemble 2018.1

Comments

David Hockenbroch · Jul 31, 2024

A task expires if it can't run when it was scheduled. This could be because your Ensemble instance was down when the task started, or it could be because a previous instance of the task was still running when it was supposed to start again. For example, if you have a task set to run every minute but it takes the task 90 seconds to complete, then when it run at 12:00, it will be supposed to start again at 12:01, but since it will still be running, the 12:01 task will expire and the task will run again at 12:02.

0
john.smith4237  Jul 31, 2024 to David Hockenbroch

Yes some tasks doesn't finish before the next one and for that I've expand the interval but when we had the system on Ensemble 2014 we don't get those messages so if one task doesn't finish the next one will just start whenever the previous one finishes, so it's the same scenario but in the new 2018 we receive these messages !?

0
David Hockenbroch  Aug 1, 2024 to john.smith4237

No, it doesn't run as soon as the previous task ends. It runs at the next scheduled time. So in my example above, if your task runs at 12:00:00 and doesn't finish until 12:01:30, the next scheduled time is 12:02:00, so that's when it'll run next. I'm not sure how far back in versions this goes, but you might be able to change that behavior so it's more like what you're expecting.

0