You are here

service cron in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \cron
  2. 9 core/core.services.yml \cron

Class

Drupal\Core\Cron
34 string references to cron
automated_cron_form_system_cron_settings_alter in core/modules/automated_cron/automated_cron.module
Implements hook_form_FORM_ID_alter() for the system_cron_settings() form.
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.

... See full list

File

core/core.services.yml
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. lazy: true