Skip to content
Advertisement

Tag: monitoring

watchdog monitoring file for changes

I have a need to watch a log file for changes. After looking through stackoverflow questions, I see people recommending watchdog. So I’m trying to test, and am not sure where to add the code for when files change: Where do I add the “got it” — in the while loop if the files have been added/changed? Answer Instead of

Advertisement