Open AngelSassin opened 8 years ago
After clearing the entire list of scheduled events and adding new repeating ones, none of them are firing. I have checked event:get_list()
, and scheduling using the ruleset adds them to the scheduled list, but repeating events on the event:get_list()
list aren't firing at all.
Scheduling events to fire once adds them to the list, and they fire just fine.
I'm working on this. My experience is that single events work every time.
The repeating stuff is messed up, but in a way I don't yet understand.
BTW, I'm changing the ruleset you use, but instead of forking it so I could send you pull requests so you could also update yours automatically, I copied it. Bad me. Sorry.
The ruleset I'm using is here: https://github.com/kre/common/blob/master/rulesets/scheduled_events.krl
I am utilizing this ruleset to test scheduling: https://raw.githubusercontent.com/AngellNick/KRL_rulesets/master/test_rulesets/countFires.krl
Raising a
do_main
night_fire
event will increase the count. Raising abegin
scheduling
event will supposedly schedule ado_main
night_fire
event to be raised every hour.I can successfully schedule an event that fires once. My pico will update the count, and I can see that the event has fired in the logs.
When I do this with a repeating event, though, it doesn't show in the logs, nor does my pico show an increase in count. I have tried scheduling by raising an event from the installed ruleset. In my testing, I currently have six events scheduled to fire every hour, and they do fire. But the strange thing is that I can't schedule more repeating events other than those six.