I have set up tasks on kernel.php. I have set up a similar debian environment locally, and the tasks are running as expected. However, on the server, tasks are not running if withoutOverlapping() method is given. If withoutOverlapping() is not given, tasks are running as expected.
Current configuration on kernel.php
$schedule->command('perform:task_one')->withoutOverlapping()->everyFiveMinutes();
Task is not fired at all. If I remove withoutOverlapping, task is fired. I have implemented withoutOverlapping as my task involves some mailing and may consume time at instances.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire