diff options
| author | horus | 2020-03-05 16:02:10 +0100 |
|---|---|---|
| committer | horus | 2020-03-05 16:02:10 +0100 |
| commit | 5dda561d73c9a5698386d643d56a142aa4bbdeec (patch) | |
| tree | 55afe2db98d0fa15fc845cc3da3afe6b517bbd3d /app/Console | |
| parent | 420e44e0fe4623a439e26dfd0526ee5ef606a170 (diff) | |
| download | senpai-5dda561d73c9a5698386d643d56a142aa4bbdeec.tar.gz | |
Committing intermediate state.
Diffstat (limited to 'app/Console')
| -rw-r--r-- | app/Console/Kernel.php | 10 |
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-' ); + }); } /** |
