therezor / laravel-database-schedule

Schedule from database for laravel 5.6+
GNU General Public License v3.0
14 stars 4 forks source link

More documentation #5

Open undjike opened 3 years ago

undjike commented 3 years ago

Can you please provide better documentation and more examples for this package?

therezor commented 3 years ago

Nice catch. Will expand readme file

undjike commented 1 year ago

Hello, just wanted to know what changes should be applied in the app/Console/Kernel.php to be able to interact with this package?

therezor commented 1 year ago

@undjike Add command, it will override the default scheduler protected $commands = [ TheRezor\DatabaseSchedule\Models\Schedule::class, ];

WildernessStars commented 3 months ago

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.

therezor commented 3 months ago

Hi @WildernessStars What laravel version are you suing?

WildernessStars commented 3 months ago

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.