1. One cron line
Code
* * * * * /usr/local/bin/php /home/USER/app/artisan schedule:run >> /dev/null 2>&12. Database queue processed by the scheduler
PHP
Schedule::command('queue:work --stop-when-empty --max-time=50')->everyMinute()->withoutOverlapping();3. Check it works
Add a test job, wait a minute, then look at the jobs table. Done! 🚀