WrenchCrons
This commit is contained in:
@@ -192,7 +192,8 @@ $routes->post('/en/wrench/api/v1/dashrecent', 'WrenchDashRecent::apigate'
|
|||||||
|
|
||||||
$routes->post('/en/wrench/api/v1/getmedia', 'WrenchMedia::apigate');
|
$routes->post('/en/wrench/api/v1/getmedia', 'WrenchMedia::apigate');
|
||||||
|
|
||||||
|
// cron jobs ------------ ===== ------------
|
||||||
|
$routes->post('/en/wrench/api/v1/cron', 'WrenchCrons::apigate');
|
||||||
/*
|
/*
|
||||||
* --------------------------------------------------------------------
|
* --------------------------------------------------------------------
|
||||||
* Additional Routing
|
* Additional Routing
|
||||||
|
|||||||
@@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user