diff options
Diffstat (limited to 'app/Console')
| -rw-r--r-- | app/Console/Kernel.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 8582678..7663b67 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -37,7 +37,9 @@ class Kernel extends ConsoleKernel $background = new Background(); $background->saveAnimeStats(); })->everyThirtyMinutes()->name('saveStats')->withoutOverlapping(); - #})->everyMinute(); + #})->everyThirtyMinutes()->name('saveStats5')->withoutOverlapping(); + #})->everyMinute()->name('saveStats3')->withoutOverlapping(); + #})->everyMinute()->name('saveStats5')->withoutOverlapping(); $schedule->call( function(){ $background = new Background(); @@ -64,6 +66,8 @@ class Kernel extends ConsoleKernel $schedule->call( function(){ $background = new Background(); + echo "saveTopAnime()"; + $background->saveTopAnime(); echo"saveEnhancementForAll()\n"; $background->saveEnhancementForAll(); })->weeklyOn(1, '15:30'); @@ -79,6 +83,16 @@ class Kernel extends ConsoleKernel })->everyMinute(); #})->twiceDaily(9, 23); */ + + /* + $schedule->call( function(){ + $background = new Background(); + #$background->checkIfIsAiring(); + $background->saveTopAnime(); + #$anime = Anime::where('mal_id', 40591)->get()->first(); + #$background->saveAiring( $anime ); + })->everyMinute()->name('saveTopAnime2')->withoutOverlapping(); + */ } /** |
