Rules: Was there a change in the cron functionality/format?

  • Platform information:

    • Hardware: Raspi 3B
    • OS: openHABian
    • openHAB version:2.5.5-1 (Release Build)
  • Issue of the topic: Cron based rule doesn’t work anymore

Since I can think I have the follwing rule in place and it worked flawless - until a few days ago:

rule DaikinACSZ_ON
     Time cron "0 30 22 ? * *" 

This started our AC at 22:30 very day. For a few days now, the rule doesn’t fire anymore.
The AC is reachable and usable via openHAB app/webfrontend.

Was there a change in the cron format - or why isn’t it working anymore?
Haven’t changed anything and can’t find any errors in the logfile.
The rule file itself is fine and throws no errors.

Any ideas?


Since what build? The format hasn’t changed, but the scheduler has. Chances are you have a blocked thread, which are limited for rules running on the old rule engine. There are ways to check for these, but I don’t have it handy. You will need to check all of your rules to see which is hung up. There are threads about this.

1 Like

Did you already restart openHAB?

Maybe consider to change the rule name to be in quotes (although a one-word name without quotes should be fine)

1 Like

Also note that if you’ve added more rules, every rule must have a unique name (or only one of them works)

1 Like

Thanks everyone, after a few restarts the problem vanished.