Ad Widget

Collapse

dayofweek() trigger expression syntax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daflunic
    Junior Member
    • Sep 2015
    • 1

    #1

    dayofweek() trigger expression syntax

    Hi,

    I am looking for some help with the dayofweek() Expression.

    I'm monitoring the time since last database backup (mssql) which returns time values (in hours).
    Now i want to create a trigger to notify when the last backup ist older than 25 hours - but only on weekdays.

    I can't figure out the right syntax for that dayofweek Expression.
    What am i doing wrong?

    Code:
    {server:backup.lastfull['dbname'].last()}>25h & {server:backup.lastfull['dbname'].dayofweek(0)}<6
Working...