small cron module for espruino #5508
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2016-12-08 by Ollie That's cool. Can you kick off multiple jobs? Is there a limit? I will be trying! Posted at 2016-12-08 by @gfwilliams That looks great! Thanks! Posted at 2016-12-08 by pbrandt1 Ollie, yes you can register multiple cron jobs, but I haven't tested the limits of how many fit in memory, or tested how much load it can handle before the somewhat naive scheduler starts missing triggers. I suppose it depends on your hardware. Happy hacking! Posted at 2016-12-08 by @MaBecker Wow - I like it - thanks for sharing ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-12-08 by pbrandt1
https://github.com/pbrandt1/espruino-cron
One interesting thing I noticed when writing this module is that using Array.sort on arrays larger than about 50 elements didn't work on the esp8266 wemos that I use, so I just wrote a custom sort function that does work.
I'm new, and I'd like that thank everyone for making espruino so beginner-friendly :)
Beta Was this translation helpful? Give feedback.
All reactions