I'm not sure if this is possible, and if it is, I'm not sure what to start researching. If someone could point me in the right googling direction that would be much appreciated!
I have a python program that runs on startup of my pi(s). This program takes sensor measurements, then posts them via JSON to a web API I built. I have a few raspberry pi 3's that are doing this. My question is: I want to make changes to the python code that these Pi's are running in an efficient way. Is it possible to have the python code "check for updates" at a cloud location? I'm almost imagining like a dropbox link or something that the code checks to see if the filename at location X has changed (V1 s V2), and if so, it downloads and replaces with updated version.
Thanks in advance for any advice, and I'm sorry if this is not the most appropriate place to ask this question.