PHP Running an hourly script
<p>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. </p>

<p>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.</p>

<p>Whats the best way to do this? </p>

<p>Thanks!</p>
