Public Member Functions | Static Public Member Functions

CronHandler Class Reference

Inheritance diagram for CronHandler:
Collaboration diagram for CronHandler:

List of all members.

Public Member Functions

 act_poll_cron ()

Static Public Member Functions

static run_cron ($async=false)

Detailed Description

Handler to run CronTab entries

Definition at line 13 of file cronhandler.php.


Member Function Documentation

CronHandler::act_poll_cron (  ) 

Handles asyncronous cron calls.

Todo:
next_cron should be the actual next run time and update it when new crons are added instead of just maxing out at one day..

Definition at line 91 of file cronhandler.php.

static CronHandler::run_cron ( async = false  )  [static]

Executes all cron jobs in the DB if there are any to run.

Parameters:
boolean $async If true, allows execution to continue by making an asynchronous request to a cron URL

Definition at line 20 of file cronhandler.php.


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