Offers reminders
This commit is contained in:
@@ -50,10 +50,10 @@ class WrenchCrons extends BaseController
|
||||
$in['one_limit'] = 3;
|
||||
$ret['WRB_CRONJOB_JOBDUE_REMINDER'] = $wrenchboard->wrenchboard_api($in, $out);
|
||||
|
||||
|
||||
$in['call_action'] = WRB_CRONJOB_PENDOFFER_ALERT;
|
||||
$in['one_limit'] = 3;
|
||||
$ret['WRB_CRONJOB_PENDOFFER_ALERT'] = $wrenchboard->wrenchboard_api($in, $out);
|
||||
//
|
||||
// $in['call_action'] = WRB_CRONJOB_PENDOFFER_ALERT;
|
||||
// $in['one_limit'] = 3;
|
||||
// $ret['WRB_CRONJOB_PENDOFFER_ALERT'] = $wrenchboard->wrenchboard_api($in, $out);
|
||||
|
||||
$in['call_action'] = WRB_CRONJOB_JOBDUE_PAYMENTS;
|
||||
$in['one_limit'] = 3;
|
||||
@@ -75,4 +75,21 @@ class WrenchCrons extends BaseController
|
||||
//$response = []; //json_decode($complete, true);
|
||||
return $this->response->setJson($out);
|
||||
}
|
||||
|
||||
public function offersreminders(){
|
||||
log_message('critical', "WrenchCrons ===> offersreminders ******** 0001");
|
||||
$in["action"] =WRB_JOB_CRONJOB;
|
||||
$wrenchboard = new \App\Models\BackendModel();
|
||||
|
||||
$in['call_action'] = WRB_CRONJOB_PENDOFFER_ALERT;
|
||||
$in['one_limit'] = 3;
|
||||
$ret['WRB_CRONJOB_PENDOFFER_ALERT'] = $wrenchboard->wrenchboard_api($in, $out);
|
||||
|
||||
// $out['internal_return'] = $ret;
|
||||
$out = $ret;
|
||||
|
||||
log_message('critical', "WrenchCrons ===> 0001");
|
||||
//$response = []; //json_decode($complete, true);
|
||||
return $this->response->setJson($out);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user