~joshli/coalgames/trunk

Viewing all changes in revision 126.

  • Committer: Joshua Li
  • Date: 2010-04-11 23:49:14 UTC
  • Revision ID: joshli@joshtime.com-20100411234914-7it655ztn20wwgcr
The query to find tasks now finds only one task and finds the oldest one to run first so that all tasks get cycled.
The nextrun for tasks run at intervals is now based on the time the script started to run. This ensures more accurate time of execution for tasks.
If cg-tasks.php is run through command line, it can bypass using the correct parameters in the GET in order to run

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: