I have a pre-registration web app that appends ID numbers to a file 'tmp/data.txt'. The main accounting app has a function to process the file, read the ID's and add registrants.
Is there a way to automate that function whenever file 'tmp/data.txt' changes?