CronController::run

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);
}
doc_Drupal
2016-10-29 08:59:08
Comments
Leave a Comment

Please login to continue.