I have a cron job scheduled in laravel.
$schedule->command('my:command')->everyFiveMinutes();
It was running perfectly but after maintenance, cron job is being triggered multiple times occasionally. This behavior is not found at each run of the cron job.
This was being triggered once in every 5 minutes correctly. Due to our DB server maintenance, I had to put the website also on maintenance mode using php artisan down. Once the maintenance was over, I did php artisan up. Ever since then, occasionally(once a day or once in 2 days) cron job is being triggered like 5 or 6 times instead of once. Then in the next run, it gets back to normal (runs only once).
Laravel version 5.4 , php version of the server 7.0.