diff options
| author | horus | 2020-03-10 01:39:27 +0100 |
|---|---|---|
| committer | horus | 2020-03-10 01:39:27 +0100 |
| commit | 0679190dfe45007ce3eb53ac139b344e0d724540 (patch) | |
| tree | 8ed09bb9820062b940f157c9405072f5deae2cd6 /app/Console/Kernel.php | |
| parent | 75e57c66dd49c55acb29d31693ddd022032b54fb (diff) | |
| download | senpai-0679190dfe45007ce3eb53ac139b344e0d724540.tar.gz | |
Nasty bug fix.
Diffstat (limited to 'app/Console/Kernel.php')
| -rw-r--r-- | app/Console/Kernel.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 4e125a3..a1cac43 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -34,23 +34,30 @@ class Kernel extends ConsoleKernel $schedule->call( function(){ $background = new Background(); $background->saveAnimeStats(); - })->dailyAt('23:00'); + })->dailyAt('22:00'); $schedule->call( function(){ $background = new Background(); + echo "SaveSeason(): \n"; $background->saveSeason(); sleep(10); + echo "\ncheckIfIsAiring(): \n"; $background->checkIfIsAiring(); sleep(10); + echo "\nsaveAiringForAll(): \n"; $background->saveAiringForAll(); - })->dailyAt('19:00'); + })->dailyAt('18:00'); + #})->everyMinute(); $schedule->call( function(){ $helper = new Helper(); #$helper->createUser( 'll-' ); + echo "setIsWatchingForAll(): \n"; $helper->setIsWatchingForAll(); + echo "\nsetCalendarForAll(): \n"; $helper->setCalendarForAll(); - })->dailyAt('18:30'); + })->dailyAt('19:30'); + #})->everyMinute(); } /** |
