Answer the question
In order to leave comments, you need to log in
Laravel scheduler - executes a task twice at once. Why is this happening, where to check?
In the Laravel scheduler in Kernel.php, there are two tasks with an interval - one with daily and one with hourly.
Everything worked fine, nothing changed in the functionality.
But at some point, each task began to be executed synchronously twice. That is, as if during the execution of the task - it was launched twice by the scheduler.
For example, every hour - the task sent me an email with information, and now - two emails arrive at the same time at the same time.
Someone faced this? what could be the reason?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question