Im making a web game. It runs relatively in real time. Buildings produce a certain amount of money each hour. The amount of money varies from player to player based on what they own. I need to make a php script that calculates how much money to add and then insert it into the DB every hour, this would have to be ran for every player.Whats the best way to do this? Thanks!