cron
Moderators: grovkillen, Stuntteam, TD-er
cron
Hello guys, could someone show me the right way how to use cron with espeasy? I tried this example, but no luck:
on System#Boot do
cron,00 06 18 * * *,gpio,13,0
Endon
I tried it with ESP_Easy_mega_20230225_normal_ESP8266_4M1M Feb 25 2023 and the latest stable release too.
I would like to set up an irrigation schedule timer, and cron would be the best for it.
Thank you!
on System#Boot do
cron,00 06 18 * * *,gpio,13,0
Endon
I tried it with ESP_Easy_mega_20230225_normal_ESP8266_4M1M Feb 25 2023 and the latest stable release too.
I would like to set up an irrigation schedule timer, and cron would be the best for it.
Thank you!
Re: cron
Have you looked at the documentation page of the cron plugin?
https://espeasy.readthedocs.io/en/lates ... #p081-page
https://espeasy.readthedocs.io/en/lates ... #p081-page
Re: cron
And the Cron plugin isn't included in the Normal build you have installed. You'll need either a Collection build (any of the A..F builds) or the Climate build installed for the availability of the Cron plugin. And of course the Max builds.
The Collection builds have all plugins available in the Normal build also available. You can upgrade via the Tools/Update Firmware button, as long as you use the same Flash layout (4M1M in your case).
The Collection builds have all plugins available in the Normal build also available. You can upgrade via the Tools/Update Firmware button, as long as you use the same Flash layout (4M1M in your case).
/Ton (PayPal.me)
Re: cron
Ohh okey my bad! Yes I read the wiki, but still couldn't figure it out how is it work. Will try again with the correct build, let's see.
Thank you!!
Thank you!!
Ath wrote: ↑25 Feb 2023, 21:30 And the Cron plugin isn't included in the Normal build you have installed. You'll need either a Collection build (any of the A..F builds) or the Climate build installed for the availability of the Cron plugin. And of course the Max builds.
The Collection builds have all plugins available in the Normal build also available. You can upgrade via the Tools/Update Firmware button, as long as you use the same Flash layout (4M1M in your case).
Re: cron
OK, so I installed Colection_A build. Added the example Cron#foo event to the rules. But how can I add the cron expressions?trendkill wrote: ↑26 Feb 2023, 00:24 Ohh okey my bad! Yes I read the wiki, but still couldn't figure it out how is it work. Will try again with the correct build, let's see.
Thank you!!
Ath wrote: ↑25 Feb 2023, 21:30 And the Cron plugin isn't included in the Normal build you have installed. You'll need either a Collection build (any of the A..F builds) or the Climate build installed for the availability of the Cron plugin. And of course the Max builds.
The Collection builds have all plugins available in the Normal build also available. You can upgrade via the Tools/Update Firmware button, as long as you use the same Flash layout (4M1M in your case).
Thank you!
Re: cron
All right, I got this. I was expecting something like a crontab file as in linux. Unfortunately this won't work for me, since one scheduled job takes one task space. And I need a lot. Probably will use the Clock#Time instead. Can I use more than 8 TimerSet somehow? I would probably need 32 or 64. Thank you!
Re: cron
If you can write it in cron syntax, then there is some repeatability.
So why do you need so many timers?
So why do you need so many timers?
Re: cron
There are many device to turn on and off in different times for different duration. Not sure yet if I need that many timers, but theorically what could be the maximum number of timers without freezing the device?
Re: cron
It used to be 8, but I'm not 100% sure if that limit is still there.
Try using timer 10 and see what happens
Try using timer 10 and see what happens

Re: cron
Wow, that's cool. I'll try it again, thanks!
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 13 guests