eZPublish  3.8
eZRunCronjobs Class Reference

Static Public Member Functions

 runScript (&$cli, $scriptFile)
 

Static Private Member Functions

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

Detailed Description

Class containing helper functions to execute cronjob parts.

Member Function Documentation

eZRunCronjobs::runScript ( $cli,
  $scriptFile 
)
static

Function for running a cronjob script.

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: