Time var in rule unexpected output #23539
-
rule1: at the start of rule1, im just printing 'mem1' and 'time' so they show up in the log. mem1 is set in rule 2 from an external trigger. (i know i could combine these into a single rule, just chose not to.) mem1 is being set properly as 'minutes past midnight' via %time% in rule2. but i have two issues with rule1:
My questions:
thanks. console output:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What you do in rule 1 is to issue the command NTP synchronization seems to have failed, normally real time would already have been updated at the point of |
Beta Was this translation helpful? Give feedback.
What you do in rule 1 is to issue the command
Time
which is a very different thing from the rules variabletime
. If you wanted to "print" the latter, you could do something likevar9 %time%
orvar9=time
. The output of the Time command does have the proper format, but of course not with the correct time yet.NTP synchronization seems to have failed, normally real time would already have been updated at the point of
System#boot
. Ideally, you should fix the reason for NTP synchronization failing, but you do also have the triggerTime#initialized
available.