It does look strange that it didn't work.
I have almost the same with the only different that I use the ::class version in schedule:
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
$schedule->command(\App\ConsoleCommands\HelpCenter::class)->everyMinute();
}
I'm not sure if it result in more information but did you try to run it with -vvv (verbose) for more information?
Yes even now, the fact is that even if I put this:
$Schedule-> command ('vbfdsvdsvds') -> everyminute ();
he always tells me:
No scheduled commands are ready to run
not even error returns 😢
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community