diff options
| author | horus | 2020-07-23 19:02:44 +0200 |
|---|---|---|
| committer | horus | 2020-07-23 19:02:44 +0200 |
| commit | c4b821cc89cd80cb23f52c5d38e90f6defb2e835 (patch) | |
| tree | 5e37961812fabaf198016e7c6887eb8a5925741d /app/Console/Kernel.php | |
| parent | 675109d7344a222de5cf8bb843b1f7ec2942b69f (diff) | |
| download | senpai-c4b821cc89cd80cb23f52c5d38e90f6defb2e835.tar.gz | |
Replaced is_airing with airing_status.
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); + */ } /** |
