# SMS broadcast sending duplicate sms

**URL:** https://forum.mautic.org/t/sms-broadcast-sending-duplicate-sms/24142
**Category:** Product Support
**Tags:** mautic-4
**Created:** [May 18, 2022, 1:35pm UTC](https://forum.mautic.org/t/sms-broadcast-sending-duplicate-sms/24142 "2022-05-18T13:35:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![vinboxadmin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vinboxadmin/32/6750_2.png) [@vinboxadmin](https://forum.mautic.org/u/vinboxadmin)
#### Post date: [May 18, 2022, 1:35pm UTC](https://forum.mautic.org/t/sms-broadcast-sending-duplicate-sms/24142/1 "2022-05-18T13:35:46Z")

</div>

**Your software**  
My Mautic version is: 4.0.0  
My PHP version is: 7.4  
My Database type and version is: mariadb

**Your problem**  
My problem is: We send around 1 million sms per day. When we send it using regular (Not scheduled) way, there is no issue. Have been doing it for quite some time now. But when we schedule sms and use mautic:broadcast:send to send bulk sms, it sends duplicate sms. Sometimes it even sends 5 duplicate for same message.

These errors are showing in the log: No errors in the log

Steps I have tried to fix the problem: Not sure what steps to take here

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [May 18, 2022, 2:26pm UTC](https://forum.mautic.org/t/sms-broadcast-sending-duplicate-sms/24142/2 "2022-05-18T14:26:55Z")

</div>

Hi couple of questions:

1. what is your batch size in your cron?
2. how often are you running the command?

---

<div class="post-metadata">

### Author: ![vinboxadmin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vinboxadmin/32/6750_2.png) [@vinboxadmin](https://forum.mautic.org/u/vinboxadmin)
#### Post date: [May 18, 2022, 3:12pm UTC](https://forum.mautic.org/t/sms-broadcast-sending-duplicate-sms/24142/3 "2022-05-18T15:12:08Z")

</div>

Hi Joey,

Thanks for your reply. Please find below the details :

This is the command i use without any batch size :

mautic mautic:broadcasts:send --channel=sms

Also i run it every 5 mins

Thanks  
Viinboxadmin

---

<div class="post-metadata">

### Author: ![vinboxadmin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vinboxadmin/32/6750_2.png) [@vinboxadmin](https://forum.mautic.org/u/vinboxadmin)
#### Post date: [May 18, 2022, 3:18pm UTC](https://forum.mautic.org/t/sms-broadcast-sending-duplicate-sms/24142/4 "2022-05-18T15:18:34Z")

</div>

I see it ran multiple broadcast instance for sending sms. Is there a way i can limit it to 1 only and not start mautic:broadcast:send more than one at any point.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [May 18, 2022, 4:18pm UTC](https://forum.mautic.org/t/sms-broadcast-sending-duplicate-sms/24142/5 "2022-05-18T16:18:49Z")

</div>

Hi, I would debug it like this:

1. Stop all broadcast (stop cron)
2. Run the following command in ssh and see how long it takes.  
mautic mautic:broadcasts:send --channel=sms --limit=500

Adjust to make sure it only runs for 4:45 min.

This way you have a little buffer before you have multiple sms going out.
