# Contacts not updating to Segments

**URL:** <https://forum.mautic.org/t/contacts-not-updating-to-segments/4373>\
**Category:** Product Support\
**Created:** [June 17, 2016, 1:50pm UTC](https://forum.mautic.org/t/contacts-not-updating-to-segments/4373 "2016-06-17T13:50:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scalar](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Scalar](https://forum.mautic.org/u/Scalar)\
**Post date:** [June 17, 2016, 1:50pm UTC](https://forum.mautic.org/t/contacts-not-updating-to-segments/4373/1 "2016-06-17T13:50:49Z")

</div>

Hi,  
  
I have set up my mautic so that contacts who sign up are assigned a custom field value (via a hidden field) of “level 1” and made a Segment named “level 1” with a filter “equals level 1”. But my contacts are not going on the segment list. It just says “no contacts”.  
  
  
  
I have set up campaigns to run from lists, so obviously they are not running because no contacts are on any lists!  
  
  
  
I have set up my cron jobs as follows:  
  
  
  
1,15,30,45 php /home/myusername/public\_html/mautic/training/app/console mautic:campaigns:update  
  
3,18,33,48 php /home/myusername/public\_html/mautic/training/app/console mautic:campaigns:trigger  
  
6,21,36,51 php /home/myusername/public\_html/mautic/training/app/console mautic:segments:update  
  
  
  
I have set my server to email me cron outputs, but I dont see any errors. But to be honest, I wouldnt know what to look for anyway.  
  
  
  
Any advice would be greatly appreciated.  
  
  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![Scalar](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Scalar](https://forum.mautic.org/u/Scalar)\
**Post date:** [June 21, 2016, 3:15pm UTC](https://forum.mautic.org/t/contacts-not-updating-to-segments/4373/2 "2016-06-21T15:15:51Z")

</div>

I found the reason, I had my crons starting with php. I changed it to php-cli, cleared the app/cache folder and it works, however there is still the persistant error of “script is still running” when maunually triggering crons, so had to use --force to get them to work.

---

<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 21, 2016, 11:35am UTC](https://forum.mautic.org/t/contacts-not-updating-to-segments/4373/3 "2016-06-21T11:35:50Z")

</div>

I currently also have the problem with filtering for a tag. The segment should contain all leads with a certain tag. Also be removed once the tag is removed. My cron jobs run, but segments are not updated.

---

<div class="post-metadata">

**Author:** ![jantheofel](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jantheofel](https://forum.mautic.org/u/jantheofel)\
**Post date:** [June 18, 2016, 5:07am UTC](https://forum.mautic.org/t/contacts-not-updating-to-segments/4373/4 "2016-06-18T05:07:26Z")

</div>

Can you please post the email from the “mautic:segments:update” cronjob? That might help.

---

<div class="post-metadata">

**Author:** ![Scalar](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Scalar](https://forum.mautic.org/u/Scalar)\
**Post date:** [June 17, 2016, 1:50pm UTC](https://forum.mautic.org/t/contacts-not-updating-to-segments/4373/5 "2016-06-17T13:50:49Z")

</div>

Hi,  
I have set up my mautic so that contacts who sign up are assigned a custom field value (via a hidden field) of “level 1” and made a Segment named “level 1” with a filter “equals level 1”. But my contacts are not going on the segment list. It just says “no contacts”.

I have set up campaigns to run from lists, so obviously they are not running because no contacts are on any lists!

I have set up my cron jobs as follows:

1,15,30,45 php /home/myusername/public\_html/mautic/training/app/console mautic:campaigns:update  
3,18,33,48 php /home/myusername/public\_html/mautic/training/app/console mautic:campaigns:trigger  
6,21,36,51 php /home/myusername/public\_html/mautic/training/app/console mautic:segments:update

I have set my server to email me cron outputs, but I dont see any errors. But to be honest, I wouldnt know what to look for anyway.

Any advice would be greatly appreciated.

Thanks!
