PHP Class Contao\FrontendCron

Inheritance: extends Frontend
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Initialize the object (do not remove)
run ( ) : Response Run the controller

Méthodes protégées

Méthode 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 méthode

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

hasToWait() protected méthode

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

run() public méthode

Run the controller
public run ( ) : Response
Résultat Symfony\Component\HttpFoundation\Response

updateCronTxt() protected méthode

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