MediaWiki  REL1_21
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 ()
 execute ()
 memoryLimit ()
 Normally we disable the memory_limit when running admin scripts.

Private Member Functions

 runJobsLog ($msg)
 Log the job message.

Detailed Description

Maintenance script that runs pending jobs.

Definition at line 35 of file runJobs.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 36 of file runJobs.php.

References Maintenance\addOption().


Member Function Documentation

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 45 of file runJobs.php.

References Maintenance\hasOption().

RunJobs::runJobsLog ( msg) [private]

Log the job message.

Parameters:
$msgString The message to log

Definition at line 140 of file runJobs.php.

References Maintenance\output(), wfDebugLog(), and wfTimestamp().

Referenced by execute().


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