public function CronInterface::run
public 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.
File
- core/lib/Drupal/Core/CronInterface.php, line 20
Class
- CronInterface
- An interface for running cron tasks.
Namespace
Drupal\CoreCode
public function run();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!CronInterface.php/function/CronInterface::run/8.1.x