diff options
| author | horus | 2021-02-28 17:29:39 +0100 |
|---|---|---|
| committer | horus | 2021-02-28 17:29:39 +0100 |
| commit | 522f1dd6c21d716be635484d11cd814172949f2b (patch) | |
| tree | 302d3b17ca62583984d83752ad1b76ab959a2be8 /app | |
| parent | 5336324116082afa7f9ce2eb94c6ae1fc47760ae (diff) | |
| download | senpai-522f1dd6c21d716be635484d11cd814172949f2b.tar.gz | |
dead debugging code
Diffstat (limited to 'app')
| -rw-r--r-- | app/Console/Kernel.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 5a533fc..01ae9ac 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -99,6 +99,11 @@ class Kernel extends ConsoleKernel /* $schedule->call( function(){ $background = new Background(); + echo "\ncheckIfIsAiring(): \n"; + $background->checkIfIsAiring(); + sleep(10); + echo "\nsaveAiringForAll(): \n"; + $background->saveAiringForAll(); #$background->checkIfIsAiring(); #$background->checkImage(); #$background->saveTopAnimeByPopularity(); @@ -110,6 +115,20 @@ class Kernel extends ConsoleKernel #})->dailyAt('3:00')->name('saveTopAnimeByPopularity')->withoutOverlapping(); #})->everyMinute()->name('saveTopAnimeByPopularity2')->withoutOverlapping(); */ + /* + $schedule->call( function(){ + $background = new Background(); + echo "saveAiringForAll(): \n"; + $background->saveAiringForAll(); + + $helper = new Helper(); + #$helper->createUser( 'll-' ); + echo "setIsWatchingForAll(): \n"; + #$helper->setIsWatchingForAll(); + echo "\nsetCalendarForAll(): \n"; + $helper->setCalendarForAll(); + })->everyMinute()->name('c8')->withoutOverlapping(); + */ } /** |
