From abfa61d4e7c7a696de90a82a175bcfa8347e6809 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 7 Dec 2023 21:43:44 -0500 Subject: [PATCH] notifications --- www-api/app/Controllers/WrenchCrons.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); }