Contacts not updating to Segments

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!

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.

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.

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

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!