Ad Widget

Collapse

.time() not evaluated correctly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linuxdr
    Junior Member
    • Jun 2005
    • 12

    #1

    .time() not evaluated correctly

    I have several triggers in 1.1Beta1 that I don't want happening between certain times. I have normal reboots and such during a maintenance time. None of them seem to evaluate the time correctly for trigger turning to true. Here is one that I have for the mail server:

    ({Email:imap.prev(0)}=0)&({Email:imap.last(0)}=0)& (({Email:imap.time(0)}<023000)|({Email:imap.time(0 )}>033000))

    I put in the {Email:imap.time(0)} into the trigger action message for debugging and this is what I got on the last trigger:

    IMAP: 0 (latest value)
    TIME: 024727

    Do I have the syntax wrong on the trigger?
Working...