예제 #1
0
 public function tearDown()
 {
     parent::tearDown();
     $args = $this->args;
     if (!empty($args['runNextJob'])) {
         $args = [];
         $args['description'] = 'Direct: Stats of StatsMemberMonthly';
         Yii::$app->job->create('backend\\modules\\member\\job\\StatsMemberMonthly', $args);
     }
 }
예제 #2
0
 public function tearDown()
 {
     parent::tearDown();
     $args = $this->args;
     if (!empty($args['runNextJob'])) {
         $args = [];
         $args['description'] = 'Delay: Stats of account orders';
         Yii::$app->job->create('backend\\modules\\member\\job\\StatsOrder', $args);
     }
 }