Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

etiwocom's avatar

Laravel 10 is constantly sending emails at 03:43 every night in a bug

I built an agenda system. I have a command, I set it to the laravel scheduler. At first it was working smoothly, but I ran a few scheduler commands in artisan, php artisan schedule:work etc. After that, although I deleted the agenda command file, it still sends automatic mail. I can neither find a log nor close the problem. Can you help me what I need to fix the problem.

This is the code, although I deleted the code, the system still sends automatic e-mails every night. And it sends an e-mail 200 300 times.

I deleted the command file, it didn't happen, I canceled the cron, it didn't happen. I used php artisan queue:flush commands, it said no result, I deleted the cache, it didn't happen again.

0 likes
4 replies
tykus's avatar

Did you restart PHP-FPM whenever you deployed the changes?

Please or to participate in this conversation.