Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
907b9c8fc4 |
@@ -52,6 +52,8 @@ trait CronardTrait {
|
||||
$this->crontabs[] = [
|
||||
'cron' => $task['annotation']->cron,
|
||||
'callback' => function(ServerRequestInterface $request, ResponseInterface $response, ContainerInterface $container) use ($task, & $launched) {
|
||||
set_time_limit(0);
|
||||
|
||||
if ( $task['annotation']->method ?? false ) {
|
||||
$request = $request->withMethod($task['annotation']->method);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user