public CronController::run()
Run Cron once.
Return value
\Symfony\Component\HttpFoundation\Response A Symfony response object.
File
- core/modules/system/src/CronController.php, line 46
Class
- CronController
- Controller for Cron handling.
Namespace
Drupal\system
Code
public function run() {
$this->cron->run();
// HTTP 204 is "No content", meaning "I did what you asked and we're done."
return new Response('', 204);
}
Please login to continue.