Dropbox File Monitor

by Paul Pearce

Version 2 (November 3, 2017)

Download (259 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.

5.0 average rating from 1 reviews

5 stars
1
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.