PHP Class Habari\CronHandler

Inheritance: extends ActionHandler
显示文件 Open project: habari/system

Public Methods

Method Description
act_poll_cron ( ) Handles asyncronous cron calls.
run_cron ( boolean $async = false ) Executes all cron jobs in the DB if there are any to run.

Method Details

act_poll_cron() public method

Handles asyncronous cron calls.
public act_poll_cron ( )

run_cron() static public method

Executes all cron jobs in the DB if there are any to run.
static public run_cron ( boolean $async = false )
$async boolean If true, allows execution to continue by making an asynchronous request to a cron URL