summaryrefslogtreecommitdiff
path: root/app/Console
diff options
context:
space:
mode:
Diffstat (limited to 'app/Console')
-rw-r--r--app/Console/Kernel.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index 8c12616..3bd744e 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -9,6 +9,8 @@ use App\Libraries\AnimeSeason;
use App\Libraries\Helper;
use App\Libraries\Background;
+use App\Anime;
+
class Kernel extends ConsoleKernel
{
/**
@@ -65,6 +67,14 @@ class Kernel extends ConsoleKernel
$background->saveEnhancementForAll();
})->weeklyOn(1, '15:30');
#})->everyMinute();
+
+/*
+ $schedule->call( function(){
+ $background = new Background();
+ $anime = Anime::where('mal_id', 40591)->get()->first();
+ $background->saveAiring( $anime );
+ })->everyMinute();
+*/
}
/**