Метод | Описание | |
---|---|---|
__construct ( |
||
clear ( ) | Clears all cron logger entries. | |
getInactiveCronjobs ( $requiredCronjobs ) : array | Returns a list of all inactive cronjobs. | |
markCronRun ( string $cronjob ) : |
Marks a specific cronjob as ran. | |
runCrons ( ) | Runs all crons. |
public __construct ( |
||
$entityManager | ||
$kernel |
public getInactiveCronjobs ( $requiredCronjobs ) : array | ||
Результат | array | A string of cronjob names which aren't running |
public markCronRun ( string $cronjob ) : |
||
$cronjob | string | The name of the cronjob |
Результат | The cron logger entity |