MediaWiki
REL1_24
|
Maintenance script that runs pending jobs. More...
Public Member Functions | |
__construct () | |
debugInternal ($s) | |
execute () | |
memoryLimit () | |
Normally we disable the memory_limit when running admin scripts. |
Maintenance script that runs pending jobs.
Definition at line 31 of file runJobs.php.
Reimplemented from Maintenance.
Definition at line 32 of file runJobs.php.
References Maintenance\addOption().
RunJobs::debugInternal | ( | $ | s | ) |
string | $s |
Definition at line 89 of file runJobs.php.
References $s, and Maintenance\output().
RunJobs::execute | ( | ) |
Reimplemented from Maintenance.
Definition at line 52 of file runJobs.php.
References $response, array(), FormatJson\encode(), Maintenance\error(), Maintenance\getOption(), Maintenance\hasOption(), Maintenance\output(), and wfReadOnly().
Normally we disable the memory_limit when running admin scripts.
Some scripts may wish to actually set a limit, however, to avoid blowing up unexpectedly. We also support a --memory-limit option, to allow sysadmins to explicitly set one if they'd prefer to override defaults (or for people using Suhosin which yells at you for trying to disable the limits)
Reimplemented from Maintenance.
Definition at line 43 of file runJobs.php.
References Maintenance\hasOption().