PHP Class Contao\FrontendCron

Inheritance: extends Frontend
ファイルを表示 Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
__construct ( ) Initialize the object (do not remove)
run ( ) : Response Run the controller

Protected Methods

Method Description
hasToWait ( ) : boolean Check whether the last script execution was less than a minute ago
updateCronTxt ( integer $time ) Update the cron.txt file

Method Details

__construct() public method

Initialize the object (do not remove)
public __construct ( )

hasToWait() protected method

Check whether the last script execution was less than a minute ago
protected hasToWait ( ) : boolean
return boolean

run() public method

Run the controller
public run ( ) : Response
return Symfony\Component\HttpFoundation\Response

updateCronTxt() protected method

Update the cron.txt file
protected updateCronTxt ( integer $time )
$time integer