diff options
Diffstat (limited to 'app/Console/Kernel.php')
| -rw-r--r-- | app/Console/Kernel.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index f7dc4eb..6f99217 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -69,13 +69,16 @@ class Kernel extends ConsoleKernel })->weeklyOn(1, '15:30'); #})->everyMinute(); -/* + /* $schedule->call( function(){ $background = new Background(); - $anime = Anime::where('mal_id', 40591)->get()->first(); - $background->saveAiring( $anime ); + #$background->checkIfIsAiring(); + $background->saveSeason(); + #$anime = Anime::where('mal_id', 40591)->get()->first(); + #$background->saveAiring( $anime ); })->everyMinute(); -*/ + #})->twiceDaily(9, 23); + */ } /** |
