cron

Same name in other branches
  1. 9 core/core.services.yml \cron
  2. 8.9.x core/core.services.yml \cron

Class

Drupal\Core\Cron
21 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::run in core/lib/Drupal/Core/Cron.php
CronForm::create in core/modules/system/src/Form/CronForm.php
Instantiates a new instance of this class.
CronQueueTest::setUp in core/modules/system/tests/src/Kernel/System/CronQueueTest.php

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Cron
  2. arguments:
  3. - '@module_handler'
  4. - '@lock'
  5. - '@queue'
  6. - '@state'
  7. - '@account_switcher'
  8. - '@logger.channel.cron'
  9. - '@plugin.manager.queue_worker'
  10. - '@datetime.time'
  11. - '%queue.config%'
  12. lazy: true

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.