Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.3.0-b1
-
Fix Version/s: 4.3.0
-
Component/s: None
-
Labels:None
Description
Cron tasks that take a long time to run can overlap and be re-run. For example, if a cron task runs every 5 minutes, but takes 6 minutes to complete, will attempt to be run a second time before the first one has finished.
We prevent this behavior of re-running a currently-running task by making sure it has completed running before starting a new instance. For some cron tasks, however, logging information sets the task end date, which marks it completed and open to be run again.
- Fix the cron so that tasks are not marked completed unless and until they are