Campaign Workflow in 1.2.0

Thanks for sum up. That helped. I talk to dozens of different people a day and I get lost sometimes.

Yes, I’d say your cron jobs are not configured correctly. That is usually in the wrong path to the Mautic folder. In some cases web hostings doesn’t allow to run scripts so that’s why I created that script you’ve used.

You can contact your provider to check if your cron jobs are configured correctly. Or you can use the URL addresses from the script to run cron job commands via that PHP script.

@escopecz , I’ve tried this cron job syntax but not successful:
wget -O - “http://mydomain.com/commands.php?teste&task=mautic%3Acampaigns%3Atrigger” >/dev/null 2>&1

Any clue?

@Sokoban let me see if i can help

Steps
1- Do this steps create the commands.php file as explain here. https://www.mautic.org/community/index.php/830-script-to-run-mautic-symfony-commands-from-a-url

2-Go to youmauticdomain.com/commands.php?YOUSECRETWORD
That page will look like this

Specify what task to run. You can run these: http://youmauticdomain.comcommands.php?YOUSECRETWORD&task=cache%3Aclear http://youmauticdomain.comcommands.php?YOUSECRETWORD&task=mautic%3Aleadlists%3Aupdate http://youmauticdomain.com/commands.php?YOUSECRETWORD&task=mautic%3Acampaigns%3Aupdate http://youmauticdomain.com/commands.php?YOUSECRETWORD&task=mautic%3Acampaigns%3Atrigger http://youmauticdomain.com/commands.php?YOUSECRETWORD&task=mautic%3Aemail%3Aprocess http://youmauticdomain.com/commands.php?YOUSECRETWORD&task=mautic%3Afetch%3Aemail http://youmauticdomain.com/commands.php?YOUSECRETWORD&task=doctrine%3Amigrations%3Amigrate http://youmauticdomain.com/commands.php?YOUSECRETWORD&task=doctrine%3Aschema%3Aupdate+--dump-sql http://youmauticdomain.com/commands.php?YOUSECRETWORD&task=doctrine%3Aschema%3Aupdate+--force Read more Please, backup your database before executing the doctrine commands!

3- Go to your Hosting Cpanel > cron job tab > create the cron job with the urls adove.
for sample
* * * * http://youmauticdomain.com/commands.php?YOUSECRETWORD&task=mautic%3Aemail%3Aprocess

Wich is the one that send that trigger the email on campaign workflow.

Let me know if this help mate.

@ninjoan ,

Steps:
1-Done!
2-Done!
3-Done!
Result > Failed…

@Sokoban cna you share a print screen of you cron tab please

@ninjoan , here it is.

After setting to /usr/bin/php it has worked!
I’ve replaced my hosting to Bluehost R0 reseller plan.

Great! but i you can set those CRON Job i think you dont need the Commands.php stuff…

@ninjoan , commands.php is no longer useful. Thanks!