Laravel scheduler nonoverlapping method

43 Views Asked by At

I want to run a nonoverlapping job but the command is just never called

Here is my code

$schedule->command('start_listeners')->withoutOverlapping();

I also tried this

$schedule->command('start_listeners')->everyMinute()->withoutOverlapping();

When i remove the withoutOverlapping method it works perfectly fine

0

There are 0 best solutions below