command("anime:saveStats") ->everyThirtyMinutes()->name('saveStats') ->emailOutputOnFailure( env('STATUS_MAIL_ADDRESS') ) ->withoutOverlapping(); $schedule->command("anime:saveSeasonAiring") ->dailyAt('18:30') ->emailOutputTo( env('STATUS_MAIL_ADDRESS') ); $schedule->command("anime:setWatchingCalender") ->twiceDaily(7, 19) ->emailOutputTo( env('STATUS_MAIL_ADDRESS') ); $schedule->command("anime:saveTopAnimeEnhance") ->weeklyOn(1, '15:30')->name('saveTopAnime') ->emailOutputTo( env('STATUS_MAIL_ADDRESS') ); $schedule->command("anime:checkImage") ->weeklyOn(3, '18:00')->name('checkForBrokenThings') ->emailOutputTo( env('STATUS_MAIL_ADDRESS') ); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }