There is no cron job in Windows but if you use Laravel Homestead when you're developing locally this documentation will help you https://laravel.com/docs/5.3/homestead#configuring-cron-schedules
Change your custom command path you have makes like given below
protected $commands = [ Commands\CustomCommand::class, ];
But You want to make like this
protected $commands = [ \App\Console\Commands\CustomCommand::class, ];
Follow this guide on Laravel cron jobs, for scheduling the cron correctly. If you have created a custom artisan command, you will have to define it correctly in your code.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.