Bug #2614
closed
Scheduler bug - fires off on date not matched correctly
Added by Sangye Ngawang about 12 years ago.
Updated almost 12 years ago.
Affected Architecture:
amd64
Description
I use Scheduler to trigger many rules, today the rules were all activated
The last date that was still in there was 8 August, today on 28 August it activated - it was clear that 28 August wasn't listed.
So i am guessing a date matching routine has a bug.
Files
Can you provide some examples from your config to debug this easily?
No i can't give my config - but ill add the scheduled tasks and hope that this is related to the scheduler menu item. Full config too private can't give you all that.
What do you need to see, the scheduler? That record is deleted, sure you can just create an 8 August 2012 and set the date to 28th and see it kick in.
The Rules trigger from the scheduler - i don't think there is anything to see there. They work, they trigger according to the scheduler. No complaints except that today it went off when it wasn't supposed to.
I would need to see the scheduler section to validate that nothing is missing with that.
Attached is a screengrab from the scheduler section, but i have to change it now for a scheduled streaming event tomorrow.
---------------
You can go back under Diagnostics > Backup/Restore on the Config History tab and get an older version of your config from before you had to change it, and then copy out just the scheduler section from there.
That is in fact what i already did, nevertheless the scheduler fired off on 28 August while it was set as you see there. Thats a bug. Done my best to report it.
For a start, this code looks odd in /etc/inc/filter.inc at 3015:
if($timeday['month'])
$month = $timeday['month'];
else
$week = "";
That will allow the month in some previous entries to carry forward to the next entry that does not specify a month. I have submitted a pull request for the problems that I can see.
- Assignee set to Renato Botelho
- Status changed from New to Feedback
Could you please confirm the issue persists on recent snapshots?
- Status changed from Feedback to Closed
Also available in: Atom
PDF