12.07.2016, 13:17
Only way I can think of, is by having a loop (maybe every 10 minutes or whatever) in your server script, which checks the value in the database. Then compare that value with the value that is loaded into your variable in the script, and update.