I am using Laravel version 11.37 and PHP version 8.2. In the console.php file, I have the following code:
$schedule = app(Schedule::class); $schedule->command('queue:work --daemon')->everyMinute()->withoutOverlapping();
However, when I run the command php artisan schedule:run, I get the following message: “No scheduled commands are ready to run.”
I have already run php artisan cache:clear to clear the cache, and there is no php artisan queue:work process running.