Compare commits

...

1 Commits

Author SHA1 Message Date
Dave Mc Nicoll
c309facbd3 - Now loading from annotations instead of crontab.php file 2025-04-03 19:36:00 +00:00

View File

@ -17,7 +17,7 @@ return [
return new HtmlResponse(sprintf("%s - cron task begin...", date('Y-m-d H:i:s')));
}, []);
return $cronardMiddleware->fromFile(getenv("META_PATH")."/crontab.php")->fromAnnotations($c->get(TaskFetcher::class));
return $cronardMiddleware->fromAnnotations($c->get(TaskFetcher::class));
},
TaskFetcher::class => function($c) {