I am trying to figure out the best way to trigger my sprinklers every N days at 9pm local time. Early in the spring when it rains a lot, N=3. Around this time of year, N=2. And from late fall to early spring I don’t want it to trigger at all. I am fine manually changing the value for N since the day that value changes isn’t constant year to year.
It looks like I might be able to use PLEG, but I couldn’t figure out from the instructions how I would write the expression.
If nothing exists, I am willing to write a plugin, but I figured I would ask before investing the time.