public function LightweightCronController::index in Scheduler 8
Same name and namespace in other branches
- 2.x src/Controller/LightweightCronController.php \Drupal\scheduler\Controller\LightweightCronController::index()
Index.
Return value
\Symfony\Component\HttpFoundation\Response The http response.
1 string reference to 'LightweightCronController::index'
File
- src/
Controller/ LightweightCronController.php, line 50
Class
- LightweightCronController
- Controller for the lightweight cron.
Namespace
Drupal\scheduler\ControllerCode
public function index() {
$this->schedulerManager
->runLightweightCron();
return new Response('', Response::HTTP_NO_CONTENT);
}