From a1f147cf4f6b5f4f77afdf245434fa0f4429228a Mon Sep 17 00:00:00 2001 From: horus Date: Sun, 19 Apr 2020 18:30:54 +0200 Subject: Unimportant stuff for testing purposes. --- app/Console/Kernel.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/Console/Kernel.php') 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(); +*/ } /** -- cgit v1.2.3