eZPublishCommunityProject(LegacyStack)  2013.6
eZRunCronjobs Class Reference

Static Public Member Functions

static maxScriptExecutionTime ()
 Returns the maximum permitted execution time for cronjobs. More...
 
static runScript ($cli, $scriptFile)
 

Static Private Member Functions

static stealMutex ($cli, $scriptMutex, $force=false)
 

Detailed Description

Class containing helper functions to execute cronjob parts.

Member Function Documentation

static eZRunCronjobs::maxScriptExecutionTime ( )
static

Returns the maximum permitted execution time for cronjobs.

This may be different per cronjob part (see cronjob.ini).

Returns
execution time in seconds
static eZRunCronjobs::runScript (   $cli,
  $scriptFile 
)
static

Function for running a cronjob script.

static eZRunCronjobs::stealMutex (   $cli,
  $scriptMutex,
  $force = false 
)
staticprivate

Steal a script mutex

Parameters
cli
scriptmutex to steal
forcestealing of mutex ( optional, false by default )
Returns
true if mutex is stole successfully

Referenced by runScript().


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