NilsAcht
(Nils)
December 7, 2017, 3:20pm
1
Hello,
i have a hopefully easy question i dont found in the forum.
I have a rule with “Time cron” in the “when” condition witch fires between 12 and 22 every 30 minutes (12:00, 12:30, 13:00, 13:30,… 21:30, 22:00).
Will it trigger even when my openHABian starts at 7:00 oclock?
Thanks
Nils
opus
(Jürgen Baginski)
December 7, 2017, 6:34pm
2
If your cron is configuered to trigger between 12 and 22 AND your system clock is using the correct time and timezoneYES!
It should not matter when your system is started, only the used time does matter!
NilsAcht
(Nils)
December 8, 2017, 8:06am
3
But i have the cron in the rule configured. Does it make any difference between cron in rule and crontab?
opus
(Jürgen Baginski)
December 8, 2017, 8:09am
4
??
Crontab? What is that, anything different to what is meant by cron?
IMHO a cron can only be used ad a trigger for a rule.
NilsAcht
(Nils)
December 8, 2017, 8:20am
5
OK thanks.
In ten minutes i will see if my cron rule works after a reboot
NilsAcht
(Nils)
December 8, 2017, 8:41am
6
Ok, my system reboots at 08:40. The cron should run at 9 and 9:30 and change my heater setpoint to 18 °C.
But it does not work after the reboot.
Is there a way i can troubleshoot this problem?
NilsAcht
(Nils)
December 8, 2017, 8:47am
8
Sorry . I am realy dump.
I look in my rules again and see that I changed the rule some time ago.
Sorry again and thanks for the help!