- Hardware: RPI3B
- OS: OPENHABIAN
- openHAB version: openHAB 2.5.10-1
Issue of the topic:
Please let me know how I can use a variable inside a CRON expresion. I want to have the option to configure the starting time and ending time from the user interface perspective.
So, for example a have this rule:
rule “All lamps on”
when Time cron “0 0 6 ? * MON-FRI *”
logInfo(“info”,“all lights on rule fired”)
And I want to modify the value 6 - (rule to be considered from 6 AM).
Until now I found this post / solution that is from '15. Maybe do you know other approach / workaround:
Thank you in advance