Hey Guys,
I want to create a Cronplus schedule that will run overnight every 10 seconds.
I can see how to run something that will run every 10 seconds - but not how to limit the time - to solar events - is there a way ?
Craig
Hey Guys,
I want to create a Cronplus schedule that will run overnight every 10 seconds.
I can see how to run something that will run every 10 seconds - but not how to limit the time - to solar events - is there a way ?
Craig
You can dynamically start and stop a schedule...
[{"id":"303a0419034970ce","type":"cronplus","z":"62a0e5a5.fc59bc","name":"stop/start","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"sunset","topic":"stop","payloadType":"str","payload":"every10s","expressionType":"solar","expression":"0 * * * * * *","location":"54.99909399942024 -1.4173007011413574","offset":"0","solarType":"selected","solarEvents":"sunset"},{"name":"sunrise","topic":"start","payloadType":"str","payload":"every10s","expressionType":"solar","expression":"0 * * * * * *","location":"54.99909399942024 -1.4173007011413574","offset":"0","solarType":"selected","solarEvents":"sunrise"}],"x":1120,"y":720,"wires":[["23df49ba4be44aa4"]]},{"id":"23df49ba4be44aa4","type":"cronplus","z":"62a0e5a5.fc59bc","name":"Every 10s","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"every10s","topic":"every10s","payloadType":"date","payload":"","expressionType":"cron","expression":"0/10 * * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":1380,"y":720,"wires":[["7a5e34cc8861aa51"]]},{"id":"7a5e34cc8861aa51","type":"debug","z":"62a0e5a5.fc59bc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1630,"y":720,"wires":[]},{"id":"7ac39cc47c1bef4d","type":"inject","z":"62a0e5a5.fc59bc","name":"manual stop","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"stop","payload":"every10s","payloadType":"str","x":1150,"y":620,"wires":[["23df49ba4be44aa4"]]},{"id":"debef4cdfdceb686","type":"inject","z":"62a0e5a5.fc59bc","name":"manual start","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"start","payload":"every10s","payloadType":"str","x":1150,"y":660,"wires":[["23df49ba4be44aa4"]]}]
Thanks Steve - interesting way that you put them together like that
Craig
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.