rimar/wifi-location-changer

Triggering too often

dskrad opened this issue · 1 comments

I changed my plist file WatchPaths to the individual file preferences.plist in /Library/Preferences/SystemConfiguration which gets changed every time I change wifi network or change Location, thus triggering the script only as necessary. Using the whole folder caused the script to run every 10 seconds on my machine. Check the console logs on your machine to see how often the script is being called. Look for error message "Throttling respawn: will restart in n seconds"

Thanks for the tip, fixed it