Run the controller
public run ( ) : |
||
return |
/** * Runs the command scheduler. * * @return Response * * @Route("/_contao/cron", name="contao_frontend_cron") */ public function cronAction() { $this->container->get('contao.framework')->initialize(); $controller = new FrontendCron(); return $controller->run(); }