Closed jdavid closed 4 years ago
Done, it works this way:
Now the run command works this way (examples):
run - list names of available actions
run <name> 0 - disables the action
run <name> 5 - run action every 5 minutes
run <name> 3:07 - run action every 3 hours at :07
Will keep the issue open for a while, until it has been tested a bit more.
Right now we can schedule actions to run every hours/minutes since epoch. The idea is to allow as well to run at absolute times, this will make it a bit closer to what cron does.
For example, the cases below we can already do today:
But these ones we can't:
With this system we could schedule tasks so we don't run the network and read sensors in the same loop, giving a more predictable behaviour, for instance: