My campaign is not triggered for nothing!

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.

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.

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.