Open undjike opened 3 years ago
Nice catch. Will expand readme file
Hello, just wanted to know what changes should be applied in the app/Console/Kernel.php
to be able to interact with this package?
@undjike
Add command, it will override the default scheduler
protected $commands = [ TheRezor\DatabaseSchedule\Models\Schedule::class, ];
Hello, i just added command to app/Console/Kernel.php
protected $commands = [ \TheRezor\DatabaseSchedule\Models\Schedule::class // \App\Console\Commands\InventorySync::class, ];
There is a TypeError:Illuminate\Console\Application::add(): Argument #1 ($command) must be of type Symfony\Component\Console\Command\Command, TheRezor\DatabaseSchedule\Models\Schedule given
is there anything i can do to deal with it? Thanks in advance.
Hi @WildernessStars What laravel version are you suing?
Hi @WildernessStars What laravel version are you suing?
8.x Thank you! I find everything goes well even if I don't add command to kernel.php.
Can you please provide better documentation and more examples for this package?