by Paul Pearce
Version 2 (November 3, 2017)
Download (231 downloads)
Non Premium Flow Compatible - Monitor a Dropbox file for updates and alert if NO updates within a (configurable) time period.
Change the first 2 variables to match your Dropbox account and file to monitor. The 3rd variable is how long to wait (15mins = 900 seconds) between each poll of the file's update timeStamp.
I use this to monitor that a RaspberryPi is alive, I have a cron job that runs every 5 minutes (on the Pi) to update/overwrite the monitored Dropbox file.
The Alive history array indicates when an update occurred (latest on the left: Y=updated, N=not updated, E=Error contacting Dropbox, N=No Internet connection available)
Make sure the polling period in this script is at least 2 X update period from the process doing the Dropbox file update/overwrite.
Rate and review within the app in the Community section.