# My campaign is not triggered for nothing!

**URL:** https://forum.mautic.org/t/my-campaign-is-not-triggered-for-nothing/4259
**Category:** Product Support
**Created:** [June 22, 2016, 12:28pm UTC](https://forum.mautic.org/t/my-campaign-is-not-triggered-for-nothing/4259 "2016-06-22T12:28:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![arthurfarache](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@arthurfarache](https://forum.mautic.org/u/arthurfarache)
#### Post date: [June 22, 2016, 12:28pm UTC](https://forum.mautic.org/t/my-campaign-is-not-triggered-for-nothing/4259/1 "2016-06-22T12:28:21Z")

</div>

Hi Guys,  
  
  
  
I have the same problem that is very well described here, but I faced with some new issues.  
  
My campaigns do not trigger any action, neither to give points nor send emails to my lead.  
  
  
  
Following some threads here, I set up my cron, like that:  
  
  
  
\*/5 \* \* \* \* php /home/desfirt9/public\_html/mautic/app/console mautic:segments:update --env=prod -f  
  
\*/5 \* \* \* \* php /home/desfirt9/public\_html/mautic/app/console mautic:campaigns:update --env=prod -f  
  
\*/5 \* \* \* \* php /home/desfirt9/public\_html/mautic/app/console mautic:campaigns:trigger --env=prod -f  
  
  
  
  
  
Beyond that I informed my email address to see what happen during the execution. Take a look what I received:  
  
  
  
_Mautic version 1.4.1 - app/prod_  
  
   
  
_Usage:_  
  
_command [options] [arguments]_  
  
   
  
_Options:_  
  
_–help (-h) Display this help message_  
  
_–quiet (-q) Do not output any message_  
  
_–verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug_  
  
_–version (-V) Display this application version_  
  
_–ansi Force ANSI output_  
  
_–no-ansi Disable ANSI output_  
  
_–no-interaction (-n) Do not ask any interactive question_  
  
_–shell (-s) Launch the shell._  
  
_–process-isolation Launch commands from shell as a separate process._  
  
_–env (-e) The Environment name. (default: “prod”)_  
  
_–no-debug Switches off debug mode._  
  
   
  
_Available commands:_  
  
_help Displays help for a command_  
  
_list Lists commands_  
  
_assets_  
  
_assets:install Installs bundles web assets under a public web directory_  
  
_bazinga_  
  
   
  
_(…)_  
  
   
  
_X-Powered-By: PHP/5.6.18_  
  
_Content-type: text/html; charset=UTF-8_  
  
   
  
  
  
It seems that the “console” is not recognising the parameters, right? Any idea on this issue?  
  
  
  
I’m almost giving it up. hehe  
  
  
  
Thank you a lot in advance.

---

<div class="post-metadata">

### Author: ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)
#### Post date: [June 23, 2016, 10:40am UTC](https://forum.mautic.org/t/my-campaign-is-not-triggered-for-nothing/4259/2 "2016-06-23T10:40:12Z")

</div>

Some comments:

- –env=prod (should not be necessary anymore, was in the past)
- -f (should not be added regularly, as there are reasons to be discovered, why a script didn’t finish and is still running)

Also, I read a comment in the forum, that some users needed to use php-cli instead of php command.

---

<div class="post-metadata">

### Author: ![arthurfarache](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@arthurfarache](https://forum.mautic.org/u/arthurfarache)
#### Post date: [June 22, 2016, 12:28pm UTC](https://forum.mautic.org/t/my-campaign-is-not-triggered-for-nothing/4259/3 "2016-06-22T12:28:21Z")

</div>

Hi Guys,

I have the same problem that is very well described here, but I faced with some new issues.  
My campaigns do not trigger any action, neither to give points nor send emails to my lead.

Following some threads here, I set up my cron, like that:

\*/5 \* \* \* \* php /home/desfirt9/public\_html/mautic/app/console mautic:segments:update --env=prod -f  
\*/5 \* \* \* \* php /home/desfirt9/public\_html/mautic/app/console mautic:campaigns:update --env=prod -f  
\*/5 \* \* \* \* php /home/desfirt9/public\_html/mautic/app/console mautic:campaigns:trigger --env=prod -f

Beyond that I informed my email address to see what happen during the execution. Take a look what I received:

[i]Mautic version 1.4.1 - app/prod

Usage:  
command [options] [arguments]

Options:  
–help (-h) Display this help message  
–quiet (-q) Do not output any message  
–verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug  
–version (-V) Display this application version  
–ansi Force ANSI output  
–no-ansi Disable ANSI output  
–no-interaction (-n) Do not ask any interactive question  
–shell (-s) Launch the shell.  
–process-isolation Launch commands from shell as a separate process.  
–env (-e) The Environment name. (default: “prod”)  
–no-debug Switches off debug mode.

Available commands:  
help Displays help for a command  
list Lists commands  
assets  
assets:install Installs bundles web assets under a public web directory  
bazinga

(…)

X-Powered-By: PHP/5.6.18  
Content-type: text/html; charset=UTF-8  
[/i]

It seems that the “console” is not recognising the parameters, right? Any idea on this issue?

I’m almost giving it up. hehe

Thank you a lot in advance.
