sm process
This commit is contained in:
@@ -10,6 +10,9 @@ define('WRB_CRONJOB_OFFER_REFUND_ALERT',775);
|
|||||||
define('WRB_CRONJOB_PENDOFFER_ALERT',776);
|
define('WRB_CRONJOB_PENDOFFER_ALERT',776);
|
||||||
define('WRB_CRONJOB_NOTIFICATIONS', 777) ;
|
define('WRB_CRONJOB_NOTIFICATIONS', 777) ;
|
||||||
define('WRB_CRONJOB_GROUPJOBS', 778) ;
|
define('WRB_CRONJOB_GROUPJOBS', 778) ;
|
||||||
|
|
||||||
|
define('WRB_CRONJOB_PENDINGSM', 790) ;
|
||||||
|
|
||||||
class WrenchCrons extends BaseController
|
class WrenchCrons extends BaseController
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -104,6 +107,15 @@ class WrenchCrons extends BaseController
|
|||||||
|
|
||||||
public function tranfercrons(){
|
public function tranfercrons(){
|
||||||
$out = array();
|
$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);
|
return $this->response->setJson($out);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user