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