Ad Widget

Collapse

Creating trigger that monitor updates in file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TNL
    Junior Member
    • Aug 2018
    • 2

    #1

    Creating trigger that monitor updates in file

    Hello,

    I am trying to create a trigger for my item that monitors if any changes were made in a certain file.
    The item itself is getting the file content(an output of a daily script), and I would like to check using the trigger if something was written to the file.

    Thank you!
  • jasbinschek
    Junior Member
    • Dec 2017
    • 19

    #2
    I would check the file's checksum and compare with the last one (like checksum.last() != checksum.last(#2))

    Comment

    • TNL
      Junior Member
      • Aug 2018
      • 2

      #3
      I will try it, thank you!

      Comment

      Working...