How i can run my Schedule task every minute? When i run command php artisan schedule:run
, console get "No scheduled commands are ready to run.". How i should set my Tasks properly? For example if I use solo command php artisan command:send_info_email_before_event
it works, but i want do it with schedule:run
when i develop app.
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
$schedule->command('command:send_info_email_before_event')
->everyMinute();
}