summaryrefslogtreecommitdiff
path: root/app/Console/Kernel.php
diff options
context:
space:
mode:
authorhorus2020-04-19 18:30:54 +0200
committerhorus2020-04-19 18:30:54 +0200
commita1f147cf4f6b5f4f77afdf245434fa0f4429228a (patch)
tree29e3743fd8bdb4288e0ee2bd638fb30804bb0f3c /app/Console/Kernel.php
parent41d56e98417055dffcb45c44b5d68db6b8917ef2 (diff)
downloadsenpai-a1f147cf4f6b5f4f77afdf245434fa0f4429228a.tar.gz
Unimportant stuff for testing purposes.
Diffstat (limited to 'app/Console/Kernel.php')
-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();
+*/
}
/**