command('upgrade:daily') ->timezone('Asia/Shanghai') ->dailyAt('00:00') ->emailOutputTo(config("app.email.ScheduleEmailOutputTo")) ->emailOutputOnFailure(config("app.email.ScheduleEmailOutputOnFailure")); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }