// Set a schedule
$schedule->command('queue:work --stop-when-empty')->everyMinute()->withoutOverlapping();
// cron job
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
//In your Kernel.php Add the following
$schedule->command('queue:work', [
'--max-time' => 300
])->withoutOverlapping();
//Create a cron
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1