# Campaign stuck- "Pending Actions" not getting processed

**URL:** https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224
**Category:** Product Support
**Tags:** mautic-3
**Created:** [April 27, 2021, 11:45pm UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224 "2021-04-27T23:45:11Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![irfankhan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/irfankhan/32/2218_2.png) [@irfankhan](https://forum.mautic.org/u/irfankhan)
#### Post date: [April 27, 2021, 11:45pm UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/1 "2021-04-27T23:45:11Z")

</div>

**Your software**  
My Mautic version is: 3.3.2.  
My PHP version is: 7.3.27  
My Database type and version is: “Olson” Timezone Database Version 0.system

**Your problem**  
My problem is: I am very new to mautic- I am using SES as my delivery server, My campaigns is are not fully sent, I have pending actions in the campaigns which are not getting completed.

I have installed mautic on cpanel- softaculous

Below are crons I have-

3,8,13,18,23,28,33,38,43,48,53,58 mautic:messages:send \>/dev/null 2\>&1  
3,8,13,18,23,28,33,38,43,48,53,58 mautic:broadcasts:send \>/dev/null 2\>&1  
2,7,12,17,22,27,32,37,42,47,52,57-mautic:segments:update \>/dev/null 2\>&1   
3,8,13,18,23,28,33,38,43,48,53,58 mautic:campaigns:update \>/dev/null 2\>&1   
3,8,13,18,23,28,33,38,43,48,53,58 mautic:campaigns:trigger \>/dev/null 2\>&1   
2,7,12,17,22,27,32,37,42,47,52,57 mautic:emails:send \>/dev/null 2\>&1   
2,7,12,17,22,27,32,37,42,47,52,57 mautic:email:fetch \>/dev/null 2\>&1

Steps I have tried to fix the problem: I have tried tweeking the queue settings, Below is the screenshots- Kindly help me fix this  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5bb463d3cfdcabb73b90e5ae874968a3c5f3807d.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/227541363988cb389ad636c74db960827814f551.png)

---

<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: [April 28, 2021, 5:34am UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/2 "2021-04-28T05:34:16Z")

</div>

Hello,  
Is this your real path in the cronjobs?  
You need to add the php command and path, like:

3,8,13,18,23,28,33,38,43,48,53,58 php /pathtoyourmautic/mautic:messages:send \>/dev/null 2\>&1

Also PMd you with more help

---

<div class="post-metadata">

### Author: ![irfankhan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/irfankhan/32/2218_2.png) [@irfankhan](https://forum.mautic.org/u/irfankhan)
#### Post date: [April 28, 2021, 7:05am UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/3 "2021-04-28T07:05:16Z")

</div>

Joe, Thanks for replying  
I have the PHP path to mautic  
/usr/local/bin/php /home/roservices/public\_html/  
They look good. I triggred about 658 email from a campaign- Few are pending actions in campaign. But Sending SES shows the emails were delivered

---

<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: [April 28, 2021, 7:16am UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/4 "2021-04-28T07:16:03Z")

</div>

Delivered: Mautic shows it?  
What is in your /mautic/var/spool folder? any files?

---

<div class="post-metadata">

### Author: ![irfankhan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/irfankhan/32/2218_2.png) [@irfankhan](https://forum.mautic.org/u/irfankhan)
#### Post date: [April 29, 2021, 5:19pm UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/5 "2021-04-29T17:19:24Z")

</div>

Mautic doesnt show that, and the spook is empty.

Had some scheduled emails today from the campaign, but all failed. Below is screenshot.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/6a212c2f50e638ba53762e418c004e9f5f94f027.png)

---

<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: [April 29, 2021, 5:24pm UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/6 "2021-04-29T17:24:15Z")

</div>

You need to check the spool hete:  
/mautic/var/spool

Otherwise you don’t know if the emails are sent or just spooled.  
If you have queue sending set, then spooling = sending for mautic stats

---

<div class="post-metadata">

### Author: ![irfankhan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/irfankhan/32/2218_2.png) [@irfankhan](https://forum.mautic.org/u/irfankhan)
#### Post date: [May 5, 2021, 7:46am UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/7 "2021-05-05T07:46:22Z")

</div>

> [@joeyk](#):
>
> /mautic/var/spool

/mautic/var/spool is empty

---

<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 5, 2021, 11:32am UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/8 "2021-05-05T11:32:50Z")

</div>

So emails were out okay?  
You also said, that Emails were delivered according to SES?

---

<div class="post-metadata">

### Author: ![irfankhan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/irfankhan/32/2218_2.png) [@irfankhan](https://forum.mautic.org/u/irfankhan)
#### Post date: [May 6, 2021, 4:36pm UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/9 "2021-05-06T16:36:59Z")

</div>

No, the send set of emails didnt go out. . SES doesnt show if it was sent.

---

<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 7, 2021, 5:27am UTC](https://forum.mautic.org/t/campaign-stuck-pending-actions-not-getting-processed/19224/10 "2021-05-07T05:27:47Z")

</div>

Check the logs and post here please.  
I think you are trying to send from an unverified address or the port is blocked or you are in sandbox.  
Joey
