# My first campaign - email not firing

**URL:** <https://forum.mautic.org/t/my-first-campaign-email-not-firing/3739>\
**Category:** General Discussion\
**Created:** [May 12, 2016, 8:50am UTC](https://forum.mautic.org/t/my-first-campaign-email-not-firing/3739 "2016-05-12T08:50:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 12, 2016, 8:50am UTC](https://forum.mautic.org/t/my-first-campaign-email-not-firing/3739/1 "2016-05-12T08:50:19Z")

</div>

I have set up a simple campaign as follows (really my first “test”).  
  
  
  
Fill in form with select with 2 options (a,b)  
  
  
  
a = need help  
  
b = interest  
  
  
  
These are being filtered correctly into lists using the list filter and a cron job. However my campaign is not doing what it should.  
  
  
  
 ![mautic_campaign.png](http://teamtmedia.com/images/mautic_campaign.png)  
  
Please ignore the negative route as I have not finished editing but my test is positive. I have tested the email setup in configuration and the test email fires perfectly.  
  
  
  
My cron job is

Code:

/usr/bin/php5-cli [s][i]/pathto/mautic[/i][/s]/app/console mautic:campaigns:trigger --env=prod \>/dev/null 2\>&1

  
My leadlist cron is firing perfectly with the same parameters so I'm confident it isn't my cron job (and I have had it firing the emails and it showed that it didn't have to do anything).  
  
Thoughts?

---

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 12, 2016, 8:50am UTC](https://forum.mautic.org/t/my-first-campaign-email-not-firing/3739/2 "2016-05-12T08:50:19Z")

</div>

I have set up a simple campaign as follows (really my first “test”).

Fill in form with select with 2 options (a,b)

a = need help  
b = interest

These are being filtered correctly into lists using the list filter and a cron job. However my campaign is not doing what it should.

![](http://teamtmedia.com/images/mautic_campaign.png)  
Please ignore the negative route as I have not finished editing but my test is positive. I have tested the email setup in configuration and the test email fires perfectly.

My cron job is

```auto
/usr/bin/php5-cli [s][i]/pathto/mautic[/i][/s]/app/console mautic:campaigns:trigger --env=prod >/dev/null 2>&1
```

My leadlist cron is firing perfectly with the same parameters so I’m confident it isn’t my cron job (and I have had it firing the emails and it showed that it didn’t have to do anything).

Thoughts?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [May 12, 2016, 9:32am UTC](https://forum.mautic.org/t/my-first-campaign-email-not-firing/3739/3 "2016-05-12T09:32:23Z")

</div>

`[s][i]/pathto/mautic[/i][/s]` doesn’t look like a real path to your Mautic instance.

---

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 12, 2016, 10:53am UTC](https://forum.mautic.org/t/my-first-campaign-email-not-firing/3739/4 "2016-05-12T10:53:54Z")

</div>

No, it’s not. I was actually trying to embed html in the code there…didn’t work. I was trying to show that I had substituted back in your “pathto/mautic” addressing logic. The path is good, it is working on all the other cron jobs. I don’t think this is cron related…more user error.

---

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 13, 2016, 6:38am UTC](https://forum.mautic.org/t/my-first-campaign-email-not-firing/3739/5 "2016-05-13T06:38:20Z")

</div>

A bit of RTFM and a bit of WTFM. Once I went to the CRON job list I found the email push cron…of course this worked. I don’t remember seeing it in the email section or in the set-up. Surely the email push is moderately standard? Your call, its just this is where I got caught up.
