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