The algorithm in addDailyAction in Scheduler.py is broken.
I wrote a little test script to exercise the algorithm for various cases
and this is the result:
Start time: 00:00 (12:00am)
Current time: 23:01 (11:01pm)
Expected delay: 0:59
Computed delay - 1:59
Current time: 23:59 (11:59pm)
Brett A. Funderburg wrote:
> The algorithm in addDailyAction in Scheduler.py is broken.
> I wrote a little test script to exercise the algorithm for various
> cases and this is the result:
>
...
I just applied your patch to CVS. Thanks!
- Geoff