An archive of as of Saturday January 26, 2019.

How do we create tasks?


I am trying to make a sprinkler system controller. I see instructions for creating a webpage to run the spinklers, but how do I create a cron job or a scheduled task so that a sprinkler system program can run at scheduled times?


Have you looked at sprinkler.nut in this demo?

It uses the NVRAM to store the schedule and the timer class to run it.