public function LightweightCronController::index in Scheduler 2.x
Same name and namespace in other branches
- 8 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);
}