That answers another question I was thinking about too. I want to have multiple instances of ON and OFF in some cases. For instance, I have an under cabinet light in my kitchen that I want to turn on at 5AM on weekdays, off at sunrise, on at sunset, and off at 10pm. It looks like the correct input would be:
ON
0 5 * * 1-5, @sunset
OFF
@sunrise, 0 23 * * *
Since my weekday event is a specific time, I can simply add the "1-5" in the day of week field. If I wanted to do something with weekdays at sunset and also at another time, I guess that would be structured like:
@sunset;@weekday, 0 23 * * *;@weekend
or
@sunset;@weekday, 0 23 * * 0,6
(sunset on weekdays) or (11pm on weekends)
Am I doing that correctly? Obviously the bug would pop up on the second option with the comma. Maybe the delineation could be parenthesis to group an expression and a pipe for or? If you are parsing the string anyway, maybe use conventional && and || or shortened to & and |.