You are here

public function CronInterface::run in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/CronInterface.php \Drupal\Core\CronInterface::run()

Executes a cron run.

Do not call this function from a test. Use $this->cronRun() instead.

Return value

bool TRUE upon success, FALSE otherwise.

2 methods override CronInterface::run()
Cron::run in core/lib/Drupal/Core/Cron.php
Executes a cron run.
Cron::run in core/lib/Drupal/Core/ProxyClass/Cron.php
Executes a cron run.

File

core/lib/Drupal/Core/CronInterface.php, line 20

Class

CronInterface
An interface for running cron tasks.

Namespace

Drupal\Core

Code

public function run();