Hello,
I am trying to figure out an easy way to detect a change in a text file on a server.
I have 2 kiosks, they both are pulling data from a simple text file that looks like this:
VAR1=43&VAR2=37
One kiosk saves the data to that text file, the other reads it. I want to find a way to that anytime that text file changes, the kiosk that reads it instantly updates.
I had the idea of just using an interval to check it every second, but there has got to be a better way. any ideas?
Thanks!