cron
Same name in other branches
Class
Drupal\Core\Cron20 string references to cron
- core.services.yml in core/
core.services.yml - core/core.services.yml
- Cron::invokeCronHandlers in core/
lib/ Drupal/ Core/ Cron.php - Invokes any cron handlers implementing hook_cron.
- Cron::processQueues in core/
lib/ Drupal/ Core/ Cron.php - Processes cron queues.
- Cron::run in core/
lib/ Drupal/ Core/ Cron.php - Executes a cron run.
- CronController::create in core/
modules/ system/ src/ CronController.php - Instantiates a new instance of this class.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Cron
- arguments:
- - '@module_handler'
- - '@lock'
- - '@queue'
- - '@state'
- - '@account_switcher'
- - '@logger.channel.cron'
- - '@plugin.manager.queue_worker'
- - '@datetime.time'
- lazy: true
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.