lp:coalgames

Created by Joshua Li and last modified
Get this branch:
bzr branch lp:coalgames
Only Joshua Li can upload to this branch. If you are Joshua Li please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Joshua Li
Project:
Coal Games Project
Status:
Development

Recent revisions

127. By Joshua Li

The default timezone is set to prevent warnings when trying to use date() or other functions

126. By Joshua Li

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

125. By Joshua Li

Made memorytest.php more presentable and useful

124. By Joshua Li

Added some indexes to some fields on the database

123. By Joshua Li

Added security to cg-tasks.php

122. By Joshua Li

Added support for running tasks at intervals now
Added a new setting "task.unlock_time" which determines the time until a we can use a locked task

121. By Joshua Li

Removed un-necessary echoes of the queries.

120. By Joshua Li

Fixed the query so that the task is successfully locked

119. By Joshua Li

Removed the php tags in the lock file
Added table tasks and tasklog
Memorytest.php echoes the time
New folder: tasks. This folder holds the task files
Added example.php, an example task file which sleeps for 3 seconds then outputs "The example task successfully ran."
Added cg-tasks.php, a file that is supposed to be run every few moments and checks if there are any tasks that need to be run. Currently only supports tasks type 2; tasks that are a one-time run set at a specific time.

Try running cg-tasks.php

118. By Joshua Li

Optimized get_row so that it doesn't have to fetch all the rows but only the one needed

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:coalgames/alpha
This branch contains Public information 
Everyone can see this information.

Subscribers