summaryrefslogtreecommitdiff
path: root/app/Console/Kernel.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Console/Kernel.php')
-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();
+ */
}
/**