0

I have command SendEmails:send, in the Kernel.

$schedule->command('SendEmails:send')->everyMinute();

But the scheduler doesn't work. However, if I run command...

php artisan SendEmails:send

All is OK. Lastly, if I run the command...

php artisan schedule:run 

I get the message:

No scheduled commands are ready to run.

What did I do wrong?

Karl Hill
  • 12,937
  • 5
  • 58
  • 95
muldy
  • 9
  • 1
  • 3
  • Possible duplicate of [Laravel "No scheduled commands are ready to run."](https://stackoverflow.com/questions/30700396/laravel-no-scheduled-commands-are-ready-to-run) – Bhargav Chudasama Oct 15 '18 at 13:06
  • Possible Dublicate of [Laravel “No scheduled commands are ready to run.”](https://stackoverflow.com/questions/30700396/laravel-no-scheduled-commands-are-ready-to-run) – Bhargav Chudasama Oct 15 '18 at 13:08
  • How's your cronjob set up? Does it run other scheduled commands? – brombeer Oct 15 '18 at 13:09
  • @kerbholz Why is cronjob? If test dont work cron work perfectly. I run command php artisan SendEmails:send all ok php artisan schedule:run - dont work – muldy Oct 15 '18 at 13:25
  • A cronjob, to run your scheduled commands: https://laravel.com/docs/5.7/scheduling – brombeer Oct 15 '18 at 13:53

0 Answers0