MediaWiki  REL1_24
RunJobs Class Reference

Maintenance script that runs pending jobs. More...

Inheritance diagram for RunJobs:
Collaboration diagram for RunJobs:

List of all members.

Public Member Functions

 __construct ()
 debugInternal ($s)
 execute ()
 memoryLimit ()
 Normally we disable the memory_limit when running admin scripts.

Detailed Description

Maintenance script that runs pending jobs.

Definition at line 31 of file runJobs.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 32 of file runJobs.php.

References Maintenance\addOption().


Member Function Documentation

Parameters:
string$s

Definition at line 89 of file runJobs.php.

References $s, and Maintenance\output().

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)

Returns:
string

Reimplemented from Maintenance.

Definition at line 43 of file runJobs.php.

References Maintenance\hasOption().


The documentation for this class was generated from the following file: