summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorus2021-02-28 17:29:39 +0100
committerhorus2021-02-28 17:29:39 +0100
commit522f1dd6c21d716be635484d11cd814172949f2b (patch)
tree302d3b17ca62583984d83752ad1b76ab959a2be8
parent5336324116082afa7f9ce2eb94c6ae1fc47760ae (diff)
downloadsenpai-522f1dd6c21d716be635484d11cd814172949f2b.tar.gz
dead debugging code
-rw-r--r--app/Console/Kernel.php19
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();
+ */
}
/**