notifications
This commit is contained in:
@@ -35,6 +35,8 @@ class WrenchCrons extends BaseController
|
|||||||
|
|
||||||
public function cron_notifications()
|
public function cron_notifications()
|
||||||
{
|
{
|
||||||
|
log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001");
|
||||||
|
log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001");
|
||||||
$in["action"] = WRB_JOB_CRONJOB;
|
$in["action"] = WRB_JOB_CRONJOB;
|
||||||
$wrenchboard = new \App\Models\BackendModel();
|
$wrenchboard = new \App\Models\BackendModel();
|
||||||
$out=[];
|
$out=[];
|
||||||
@@ -42,8 +44,8 @@ class WrenchCrons extends BaseController
|
|||||||
$in['call_action'] = WRB_CRONJOB_NOTIFICATIONS;
|
$in['call_action'] = WRB_CRONJOB_NOTIFICATIONS;
|
||||||
$in['one_limit'] = 10;
|
$in['one_limit'] = 10;
|
||||||
$ret['WRB_CRONJOB_NOTIFICATIONS'] = $wrenchboard->wrenchboard_api($in, $out);
|
$ret['WRB_CRONJOB_NOTIFICATIONS'] = $wrenchboard->wrenchboard_api($in, $out);
|
||||||
|
$out = $ret;
|
||||||
log_message('critical', "WrenchCrons ===> 0001");
|
log_message('critical', "WrenchCrons Out ===> cron_notifications ******** 0001");
|
||||||
//$response = []; //json_decode($complete, true);
|
//$response = []; //json_decode($complete, true);
|
||||||
return $this->response->setJson($out);
|
return $this->response->setJson($out);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user