diff --git a/www-api/app/Controllers/WrenchCrons.php b/www-api/app/Controllers/WrenchCrons.php index d3aa6b10..96664d9d 100644 --- a/www-api/app/Controllers/WrenchCrons.php +++ b/www-api/app/Controllers/WrenchCrons.php @@ -35,6 +35,8 @@ class WrenchCrons extends BaseController public function cron_notifications() { + log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001"); + log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001"); $in["action"] = WRB_JOB_CRONJOB; $wrenchboard = new \App\Models\BackendModel(); $out=[]; @@ -42,8 +44,8 @@ class WrenchCrons extends BaseController $in['call_action'] = WRB_CRONJOB_NOTIFICATIONS; $in['one_limit'] = 10; $ret['WRB_CRONJOB_NOTIFICATIONS'] = $wrenchboard->wrenchboard_api($in, $out); - - log_message('critical', "WrenchCrons ===> 0001"); + $out = $ret; + log_message('critical', "WrenchCrons Out ===> cron_notifications ******** 0001"); //$response = []; //json_decode($complete, true); return $this->response->setJson($out); }