Ad Widget

Collapse

Not supported

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kokox232
    Junior Member
    • Sep 2020
    • 13

    #1

    Not supported

    Hello,
    I have a problem with my item's, because i have to monitor directory, and if some file appears, it will alert me.
    Files which incoming, have .txt end.
    I was trying something like this, but it's not supported
    vfs.dir.count[/data/HIB/path/path/,,,*.txt,,0,1,,300,,]
    Do you know how to change *.txt ( i guess with this is a problem )

    Thanks in advance
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    So you were able to define the item, but it go to "not supported" status? The "Not supported" item should have a red !, click on it and share the message.

    Comment

    • LenR
      Senior Member
      • Sep 2009
      • 1005

      #3
      I'd never used that item type, but your *.txt is in the 4th position correct? That is the "file type", as in file, dir, symlink, not a file name match. Try ".*\.txt" in the second parm, it's regex, so quoting and escaping may be wrong.

      Comment

      Working...