title: File-Monitoring via Lua Script
body: <p>Good evening,</p>
  
  <p>I am currently developing a way to import machine created data from a csv sheet into a database.
  The question I have is, is there a way to react to a change in a csv file with Lua.</p>
  
  <p>The file gets a line in this format:</p>
  
  <p><code>17162H,"801234500001",9/23/2016 12:33:30 PM,"INV"</code></p>
  
  <p>Every time a scanner is finishing a scan process, added under the old lines, but there is no direct connection to the database, to trigger the script.</p>
  
  <p>It doesn't matter if the change is detected via different file size, foldersize (of the folder that contains the file) or a change within the file information (like date of last opening), but I can't open and read in it permanently due performance reasons.</p>
  
  <p>Also this is the first time I ask here, so sorry for my clunky way, I'll try to improve myself with that over time.</p>