#4264Adjust calculation of last execution
Description
A task execution may have an end time. It should not run beyond that time. The way this is currently implemented, the task will run one more time after the end time, because it bases the comparison with the end time on the current run and not that of the next run.
This should be corrected so that an extra run doesn’t take place.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.