I have a PHP script
getAnalytics.php that when called, returns a specific integer value. I want to be able to call
getAnalytics.php in a bash script that runs continuously checking the PHP script every 30 seconds to see if the value returned has changed.
How would I go about doing this? Or would you recommend a different method?