service cron in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \cron
- 9 core/core.services.yml \cron
Class
Drupal\Core\Cron34 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.
File
- core/
core.services.yml - 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