Sometimes, during developing a package we need to schedule commands from our package’s service provider. We can do the following to schedule commands as we do in the command kernel:
use Illuminate\Console\Scheduling\Schedule; // Schedule the commands in the boot method $this->app->booted(function ($app) { $app->make(Schedule::class)->command('your:command')->daily(); });