Rule cron

Hello! I have 3 rules:

rule "1"
when
    Time cron "0 0 12 * * ?"
then
    logInfo("YEELIGHT-4","*4*")
    yeelight_scena.sendCommand("4")
end
//-------------------------------------------------------------------------
rule "2"
when
    Time cron "0 15 12 * * ?"
then
    logInfo("YEELIGHT-5","*5*")
    yeelight_scena.sendCommand("5")
end
//----------------------------------------------------------------------
rule "3"
when
    Time cron "0 50 12 * * ?"
then
    logInfo("YEELIGHT-OFF","*OFF*")
    yeelight_power.sendCommand(OFF)
end

Here is a log of their performance:

2017-02-21 12:00:02.216 [INFO ] [se.smarthome.model.script.YEELIGHT-4] - *4*
2017-02-21 12:00:02.246 [INFO ] [ipse.smarthome.model.script.YEELIGHT] - Scena 4
2017-02-21 12:00:02.278 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 1
2017-02-21 12:00:02.310 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 100,100,100
2017-02-21 12:00:02.320 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 1
2017-02-21 12:00:02.331 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 0,100,100
2017-02-21 12:00:02.340 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 1
2017-02-21 12:00:02.351 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 200,100,100
2017-02-21 12:00:02.546 [INFO ] [.astro.internal.job.AbstractDailyJob] - Scheduled astro event-jobs for thing astro:sun:home
2017-02-21 12:15:00.013 [INFO ] [se.smarthome.model.script.YEELIGHT-4] - *4*
2017-02-21 12:15:00.033 [INFO ] [ipse.smarthome.model.script.YEELIGHT] - Scena 4
2017-02-21 12:15:00.039 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 1
2017-02-21 12:15:00.069 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 100,100,100
2017-02-21 12:15:00.077 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 1
2017-02-21 12:15:00.099 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 0,100,100
2017-02-21 12:15:00.114 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 1
2017-02-21 12:15:00.124 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 200,100,100
2017-02-21 12:50:00.012 [INFO ] [.smarthome.model.script.YEELIGHT-OFF] - *OFF*
2017-02-21 12:50:00.026 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 0
2017-02-21 12:50:00.035 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 0
2017-02-21 12:50:00.040 [INFO ] [yeelight.handler.YeelightHandlerBase] - YeelightColorHandler: command: 0

I do not understand why at the time the second rule is triggered and performed first?

I would’t understand either.
Did you save the above posted rule file?
In this situation I would close all editors for the rules and reopen them.

If that doesn’ t help I’d restart.

Hello! And openNAB2 and the computer reboots, nothing changes.

Copied and pasted the above code, changed the crons to match actual time and commented out the lines which are referring to your item. Working fine on my setup.
I’m out off ideas!

Here is my log:

17:34:00.128 [INFO ] [se.smarthome.model.script.YEELIGHT-4] - 4
17:35:00.020 [INFO ] [se.smarthome.model.script.YEELIGHT-5] - 5
17:37:00.023 [INFO ] [.smarthome.model.script.YEELIGHT-OFF] - OFF

Thanks, buddy! You helped me a lot! I deleted the rules file and created anew, and now it works.