OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) PHP based Interval Program Re: Re: PHP based Interval Program



I still haven’t come across an ideal solution to task scheduling.. which is what will be needed to handle “run for 15 mins”, or “run at 12pm tomorrow”.

I am trying to not rely on external services such as resque, IronMQ, IronWorker etc..

I found this: rufus-scheduler.. works similar to cron tab.

the concept will be the program will have a restful json based API to interact with the stations.. things like

or for scheduled runs

one example i have currently “working” is: http://rubysprinkler/stations/1/start/runtime/10 & http://rubysrpinkler/stations/1/stop