I'm trying to setup schedule for my commands in /app/Console/Kernel.php
and found out that withoutOverlapping()
doesnt work with runInBackground()
This works without overlaps:
$schedule
->command('test:update')
->withoutOverlapping();
This overlaps tasks:
$schedule
->command('test:update')
->withoutOverlapping()
->runInBackground();