Schedule delay on rules?
fernando36 last edited by
My rule is taking 10-15 minutes after the scheduled end to wear out.
It is a rule to block some website from LAN. It works from 9 to 5 and has a break for lunch time.
The Current date/time on Dashboard is correct.
Am I missing anything?
phil.davis last edited by
The schedule times include the last minute specified. If you make the rule go to 1700, then that includes up to 1700:59.9999 seconds. The cron job that manages the scheduled rules runs every 15 minutes. It wakes up at 1700 (and 1 second), sees that it is still within the time for your scheduled rule to be active, and leaves it active. (It should be active only for the next 59 seconds LOL). The cron job does not run again for 15 minutes, so the rule stays active until 1715.
Solution: for end time use 16 59.
Longer term solution: fix this up in the code so that end times 00, 15, 30 and 45 really mean hh:59:59.999, hh:14:59.999, hh:29:59.999, hh:44:59.999