# Campaigns doesn't run trigger automatically based in cron jobs

**URL:** <https://forum.mautic.org/t/campaigns-doesnt-run-trigger-automatically-based-in-cron-jobs/6830>\
**Category:** Product Support\
**Created:** [December 12, 2016, 11:29pm UTC](https://forum.mautic.org/t/campaigns-doesnt-run-trigger-automatically-based-in-cron-jobs/6830 "2016-12-12T23:29:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![duplexcleaning](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/duplexcleaning/32/7211_2.png) [@duplexcleaning](https://forum.mautic.org/u/duplexcleaning)\
**Post date:** [December 12, 2016, 11:29pm UTC](https://forum.mautic.org/t/campaigns-doesnt-run-trigger-automatically-based-in-cron-jobs/6830/1 "2016-12-12T23:29:01Z")

</div>

Campaign trigger is not running automatically / responding based in command defined in cron jobs.  
  
I have set up cron jobs under Cpanel with the following commands that I think should do the trigger for all events defined in the maps in the Campaign item.  
  
php /home/user1/public\_html/mautic/app/console mautic:campaigns:trigger (every minute)  
php /home/user1/public\_html/mautic/app/console mautic:segments:update (every minute)  
php /home/user1/public\_html/mautic/app/console mautic:campaigns:rebuild (once a day)  
php /home/user1/public\_html/mautic/app/console mautic:campaigns:update (every minute)  
  
In the campaign map, in the first level I have the following actions to:  
  
- Add points  
- Change contact's stage  
- Add to segment  
  
When I tested the form submission which is takes in the place of top level item (campaign form), and submitted the data, and waited for about 5 minutes, there is no change being made to the contact's stage and not having points added.  
  
If I run campaign manually via SSH Shell command interface, the campaign runs successfully and displaying results for the events (first level, non-events, scheduled) such as showing 100% percentage for events completed.  
  
Any assistance would be greatly appreciated.  
  
Details:  
| Mautic version | 2.20  
| PHP version | 5.6.28

---

_[View the full topic](https://forum.mautic.org/t/campaigns-doesnt-run-trigger-automatically-based-in-cron-jobs/6830)._
