Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trigger task on first execution after rescheduling
When rescheduling a task, the first execution isn't based on the current time plus the interval, but instead it is based on the remaining time till the next execution using the old interval plus the time difference of the old and the new interval. Thus, the first execution with the new interval might take less time than the actual new interval. In this case, the task didn't get executed due to it being incorrectly considered a "catchup execution", since the time since the last execution was less than the actual interval.
- Loading branch information