diff --git a/www-api/app/Config/Routes.php b/www-api/app/Config/Routes.php index a54135f5..0582a4c4 100644 --- a/www-api/app/Config/Routes.php +++ b/www-api/app/Config/Routes.php @@ -192,7 +192,8 @@ $routes->post('/en/wrench/api/v1/dashrecent', 'WrenchDashRecent::apigate' $routes->post('/en/wrench/api/v1/getmedia', 'WrenchMedia::apigate'); - +// cron jobs ------------ ===== ------------ +$routes->post('/en/wrench/api/v1/cron', 'WrenchCrons::apigate'); /* * -------------------------------------------------------------------- * Additional Routing diff --git a/www-api/app/Controllers/WrenchCrons.php b/www-api/app/Controllers/WrenchCrons.php new file mode 100644 index 00000000..44671389 --- /dev/null +++ b/www-api/app/Controllers/WrenchCrons.php @@ -0,0 +1,13 @@ + 0001"); + $response = []; //json_decode($complete, true); + return $this->response->setJson($response); + } + +} \ No newline at end of file