summaryrefslogtreecommitdiff
path: root/app/Console
diff options
context:
space:
mode:
authorhorus2020-03-05 16:02:10 +0100
committerhorus2020-03-05 16:02:10 +0100
commit5dda561d73c9a5698386d643d56a142aa4bbdeec (patch)
tree55afe2db98d0fa15fc845cc3da3afe6b517bbd3d /app/Console
parent420e44e0fe4623a439e26dfd0526ee5ef606a170 (diff)
downloadsenpai-5dda561d73c9a5698386d643d56a142aa4bbdeec.tar.gz
Committing intermediate state.
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 a8c5158..fa58874 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -5,6 +5,9 @@ namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
+use App\Libraries\AnimeSeason;
+use App\Libraries\Helper;
+
class Kernel extends ConsoleKernel
{
/**
@@ -26,6 +29,13 @@ class Kernel extends ConsoleKernel
{
// $schedule->command('inspire')
// ->hourly();
+ $schedule->call( function(){
+ #$season = new AnimeSeason();
+ #$season->save();
+ #$helper = new Helper();
+ #$helper->setAiringForAll();
+ #$helper->setCalendar( 'll-' );
+ });
}
/**