Hello,
my openHab system has been running fine for a long time. But now I wanted to add some features. Doing that I’ve noticed that openHab 3 has been released. Migrating to the current version will be a project for next winter. But for now I hope there’s still support for openHab 2.
I’ve added a rule with a cron trigger. But for some reason it doesn’t trigger. The simplified rule looks like that:
rule "systeminfo_cpu_frequency"
when
Time cron "0/15 0 0 ? * * *"
// Item nCpuTemperature changed
then
logInfo("System Rules","CPU FREQ begin")
//var cpuFreq = executeCommandLine("/opt/openhab2/conf/scripts/cpuFreq.sh", 1000)
//logInfo("System Rules","CPU freq is: {}", cpuFreq)
//nCpuFrequency.postUpdate(Float::parseFloat(String::format("%s",cpuFreq)))
logInfo("System Rules","CPU FREQ end")
end
Using the item trigger nCpuTemperature the rule is triggered. But when using Time cron nothing happens. The rule should trigger every 15 seconds. There is no warning or error in the log files.
How can I check if Quartz is active at all? Do I need to install a binding?
Any help is greatly appreciated!
Thanks a lot.
- Platform information:
- Hardware: Raspberry Pi 3
- OS: Buster
- Java Runtime Environment: Zulu 1.8.0_302
- openHAB version: 2.5.12