in reply to Re^2: Running a script periodically to update player statistics on a web game.
in thread Running a script periodically to update player statistics on a web game.

I wondered if it was intended as an infinite loop but AM also seems to want to stop it after 100 iterations.

I shall wait patiently for AM to enlighten us. :-)

-- Ken

  • Comment on Re^3: Running a script periodically to update player statistics on a web game.

Replies are listed 'Best First'.
Re^4: Running a script periodically to update player statistics on a web game.
by Anonymous Monk on Nov 02, 2010 at 18:00 UTC

    It was intended as an infinite loop with $cou being a counter. Using a for loop like that is a bad habit from when I started programming.

    From what you guys said I think I will use cron jobs for my updates since they will affect all players. Thanks for the help.