public function actionMonth()
    {
        $this->stdout("Executing month tasks:" . PHP_EOL, Console::FG_YELLOW);
        $this->trigger(self::EVENT_ON_MONTH_RUN);
        Yii::$app->settings->set('cronLastMonthRun', time(), 'core');
        return ExitCode::OK;
    }
public function actionMonth()
    {
        $this->stdout("Executing month tasks:" . PHP_EOL, Console::FG_YELLOW);
        $this->trigger(self::EVENT_ON_MONTH_RUN);
        Yii::$app->settings->set('cronLastMonthRun', time(), 'core');
        return ExitCode::OK;
    }
public function actionMonth ( ) { $ this -> stdout ( "Executing month tasks:" . PHP_EOL , Console :: FG_YELLOW ) ; $ this -> trigger ( self :: EVENT_ON_MONTH_RUN ) ; Yii :: $ app -> settings -> set ( 'cronLastMonthRun' , time ( ) , 'core' ) ; return ExitCode :: OK ; }
Executes month cron tasks.
@throws \yii\base\InvalidConfigException
Executes month cron tasks .