# mautic:campaigns:trigger --env=prod problem

**URL:** <https://forum.mautic.org/t/mautictrigger-env-prod-problem/5637>\
**Category:** General Discussion\
**Created:** [April 2, 2016, 3:44am UTC](https://forum.mautic.org/t/mautictrigger-env-prod-problem/5637 "2016-04-02T03:44:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farhad](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@Farhad](https://forum.mautic.org/u/Farhad)\
**Post date:** [April 2, 2016, 3:44am UTC](https://forum.mautic.org/t/mautictrigger-env-prod-problem/5637/1 "2016-04-02T03:44:00Z")

</div>

Hi  
  
  
  
I recently Noticed when I run “/usr/bin/php /var/www/html/app/console mautic:campaigns:trigger --env=prod” it only sends emails to leads. for example I have a leadlist with 2000 Leads within it. I create a simple campaign to send emails to leadlist with trigger mode. then I run the script. it will go up to 1000 and then jumps to 2000 and exits.  
  
  
  
When I Run it again it will shows total 1000 and jumps to 1000 at 500 mark.  
  
  
  
Anyone else has this problem?  
  
Any help would be appretiated.  
  
Farhad

---

<div class="post-metadata">

**Author:** ![Farhad](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@Farhad](https://forum.mautic.org/u/Farhad)\
**Post date:** [April 2, 2016, 3:44am UTC](https://forum.mautic.org/t/mautictrigger-env-prod-problem/5637/2 "2016-04-02T03:44:00Z")

</div>

Hi

I recently Noticed when I run “/usr/bin/php /var/www/html/app/console mautic:campaigns:trigger --env=prod” it only sends emails to leads. for example I have a leadlist with 2000 Leads within it. I create a simple campaign to send emails to leadlist with trigger mode. then I run the script. it will go up to 1000 and then jumps to 2000 and exits.

When I Run it again it will shows total 1000 and jumps to 1000 at 500 mark.

Anyone else has this problem?  
Any help would be appretiated.  
Farhad
