- Added an HttpFactory and beginning the removal of old annotations from Notes
This commit is contained in:
1 parent
7e92391113
commit
08c27e38b0
10 files changed
+143
-52
No files matched your search
@@ -15,7 +15,7 @@ return [
|
||||
CronardMiddleware::class => function($c) {
|
||||
$cronardMiddleware = new CronardMiddleware($c, getenv('CRON_KEY'), function() : ResponseInterface {
|
||||
return new HtmlResponse(sprintf("%s - cron task begin...", date('Y-m-d H:i:s')));
|
||||
}, [], $c->get(TaskFetcher::class));
|
||||
}, []);
|
||||
|
||||
return $cronardMiddleware->fromFile(getenv("META_PATH")."/crontab.php")->fromAnnotations($c->get(TaskFetcher::class));
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user