Thanks for your hints.
any idea how to implement it in a rule?
At the moment I use a cron job with the specifice time settings.
rule "roller shutter down"
when
Time cron “0 0 6 * * ? *” or // Morning start
Item Sunrise_Event received update ON // Day start
then
RollerShutter01.sendCommand(0)
}
end
Is it possible to configure a cron job with a value of a string or something else?
Something like:
val cronsettings = “0 0 6 * * ? *”
rule "roller shutter down"
when
Time cron cronsettings or // Morning start by manipulating the cronsettings from a string
Item Sunrise_Event received update ON // Day start
then
RollerShutter01.sendCommand(0)
}
end
Instead I have to run a cron job every minute and check, if the specific time is reached.