You can deploy the php file, which will be checked on the central server, if there is a new version of the script, if so boot, run it and save this version along with the version tag.
Next time check the new version, if the version is the same, just run the local script. Otherwise, repeat the first step.
With this approach, you can also get additional benefits, such as the ability to customize the user process depending on the machine on which this process is running, or sending reports to a central server, etc.
source
share