# Campaign Workflow in 1.2.0

**URL:** <https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295>\
**Category:** Product Support\
**Created:** [September 7, 2015, 12:01am UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295 "2015-09-07T00:01:50Z")\
**Posts on this page:** 9\
**Page:** 3

<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:** [September 23, 2015, 5:18pm UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/41 "2015-09-23T17:18:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Sokoban](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@Sokoban](https://forum.mautic.org/u/Sokoban)\
**Post date:** [September 23, 2015, 6:47pm UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/42 "2015-09-23T18:47:51Z")

</div>

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

Any clue?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 24, 2015, 3:13pm UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/43 "2015-09-24T15:13:53Z")

</div>

@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](https://www.mautic.org/community/index.php/830-script-to-run-mautic-symfony-commands-from-a-url)

2-Go to [youmauticdomain.com/commands.php](http://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](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.

---

<div class="post-metadata">

**Author:** ![Sokoban](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@Sokoban](https://forum.mautic.org/u/Sokoban)\
**Post date:** [September 24, 2015, 6:48pm UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/44 "2015-09-24T18:48:58Z")

</div>

@ninjoan ,

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

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 25, 2015, 12:42pm UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/45 "2015-09-25T12:42:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sokoban](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@Sokoban](https://forum.mautic.org/u/Sokoban)\
**Post date:** [September 25, 2015, 3:45pm UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/46 "2015-09-25T15:45:26Z")

</div>

@ninjoan , here it is.  
 ![](http://2effes.com/cron.jpg)

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

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 25, 2015, 10:46pm UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/47 "2015-09-25T22:46:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sokoban](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@Sokoban](https://forum.mautic.org/u/Sokoban)\
**Post date:** [September 28, 2015, 11:54am UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/48 "2015-09-28T11:54:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:58pm UTC](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295/49 "2020-02-02T22:58:09Z")

</div>

Closed on February 2, 2020, 10:58pm UTC



[Previous page](https://forum.mautic.org/t/campaign-workflow-in-1-2-0/2295.md?page=2)
