Hi jxx2005,
This post does something similar:
#37781
You could modify the script to check the existence of a file which you place somewhere in the cloud. File exists: on, no file: off/pause. Do not open the file or copy it to your Pi, just check that it exists. Other types of solution will get very complex with regard to network security.
Janui