Compare commits
No commits in common. "master" and "v1.0.0" have entirely different histories.
@ -17,7 +17,7 @@ return [
|
|||||||
return new HtmlResponse(sprintf("%s - cron task begin...", date('Y-m-d H:i:s')));
|
return new HtmlResponse(sprintf("%s - cron task begin...", date('Y-m-d H:i:s')));
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return $cronardMiddleware->fromAnnotations($c->get(TaskFetcher::class));
|
return $cronardMiddleware->fromFile(getenv("META_PATH")."/crontab.php")->fromAnnotations($c->get(TaskFetcher::class));
|
||||||
},
|
},
|
||||||
|
|
||||||
TaskFetcher::class => function($c) {
|
TaskFetcher::class => function($c) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user