:local thishour [:pick $thistime 0 2] on voltage report

this lines are from voltage report script witch is working OK on ros 4.xx

but since I have update it to ros 5.xx I think those comands are not understanded by the new ros because on 23 hours I will not get an email with the voltage report on 23hour.. Ill get it dependend on the first time script start in the scheduler... so if the scheduler starts s 13:21... then Ill get my report on 23:21


what are the new simtaxes for ros 5.xx

:local thishour [:pick $thistime 0 2]

:if ($thishour = “23”) do={:execute voltreport}

thx

if you put “23” in quotes then you are comparing strings, do not use quotes.