sm process

This commit is contained in:
CHIEFSOFT\ameye
2024-02-03 09:27:30 -05:00
parent a58bcf551f
commit 7f6a30d31a
+12
View File
@@ -10,6 +10,9 @@ define('WRB_CRONJOB_OFFER_REFUND_ALERT',775);
define('WRB_CRONJOB_PENDOFFER_ALERT',776);
define('WRB_CRONJOB_NOTIFICATIONS', 777) ;
define('WRB_CRONJOB_GROUPJOBS', 778) ;
define('WRB_CRONJOB_PENDINGSM', 790) ;
class WrenchCrons extends BaseController
{
@@ -104,6 +107,15 @@ class WrenchCrons extends BaseController
public function tranfercrons(){
$out = array();
log_message('critical', "WrenchCrons ===> tranfercrons ******** 0001");
$in["action"] =WRB_JOB_CRONJOB;
$wrenchboard = new \App\Models\BackendModel();
$in['call_action'] = WRB_CRONJOB_PENDINGSM;
$in['one_limit'] = 10;
$in['mode'] = 100;
$ret['WRB_CRONJOB_PENDOFFER_ALERT_100'] = $wrenchboard->wrenchboard_api($in, $out);
return $this->response->setJson($out);
}