1

php artisan schedule:run gives me error after rebooting OS (Ubuntu).

No scheduled commands are ready to run

I can run this command many times and it does not start any commands.

BUT when I execute php artisan cache:clear all works as expected till next reboot.

What can be the reason?

.env has

CACHE_DRIVER=redis
Jackson J
  • 1,463
  • 3
  • 17
  • 34

1 Answers1

-4

You can write this command in schedular like -:

Artisan::call('config:cache');
Hamza Dairywala
  • 482
  • 2
  • 11