An archive of community.esquilo.io as of Saturday January 26, 2019.

How do we create tasks?

dave.fick

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?

patrick

Have you looked at sprinkler.nut in this demo?

https://github.com/esquiloio/lib/tree/master/demos/sprinkler

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