WrenchCrons

This commit is contained in:
CHIEFSOFT\ameye
2023-07-22 09:35:01 -04:00
parent 4eae63419e
commit ff40d1eced
2 changed files with 15 additions and 1 deletions
+2 -1
View File
@@ -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
+13
View File
@@ -0,0 +1,13 @@
<?php
namespace App\Controllers;
class WrenchCrons extends BaseController
{
public function apigate(){
log_message('critical', "WrenchCrons ===> 0001");
$response = []; //json_decode($complete, true);
return $this->response->setJson($response);
}
}