# A contact is not added to a segments

**URL:** <https://forum.mautic.org/t/a-contact-is-not-added-to-a-segments/23927>\
**Category:** Product Support\
**Created:** [April 28, 2022, 2:34pm UTC](https://forum.mautic.org/t/a-contact-is-not-added-to-a-segments/23927 "2022-04-28T14:34:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![astor99](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/astor99/32/6421_2.png) [@astor99](https://forum.mautic.org/u/astor99)\
**Post date:** [April 28, 2022, 2:34pm UTC](https://forum.mautic.org/t/a-contact-is-not-added-to-a-segments/23927/1 "2022-04-28T14:34:08Z")

</div>

**Your software**  
My Mautic version is: 4.2.1  
My PHP version is: 7.4.28  
My Database type and version is: MySQL

**Your problem**  
My problem is:  
I imported a contact from a CSV.

![1](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/4137ea235b02a0c26ee9bb3b764c7fd3b61f8aad.png)

I created a new segment with a simple filter: his firstname must match.

 ![2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/3d0e78edf74f28d8d01a3fc4611008c5cda27513.png)

Even if a contact should be considered in the filter, it’s not shown in the segment.

These info are showing in the log:

Rebuilding contacts for segment 11  
1 total contact(s) to be added in batches of 300  
1/1 [============================] 100%  
0 total contact(s) to be removed in batches of 300  
0 contact(s) affected

Steps I have tried to fix the problem:  
Cleared the cache. Update and rebuild the segments many times.

---

<div class="post-metadata">

**Author:** ![astor99](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/astor99/32/6421_2.png) [@astor99](https://forum.mautic.org/u/astor99)\
**Post date:** [April 29, 2022, 6:45am UTC](https://forum.mautic.org/t/a-contact-is-not-added-to-a-segments/23927/2 "2022-04-29T06:45:29Z")

</div>

After one day, the contact has appeared in the segment without my intervention!  
Do you know which cron did that and how can I speed up it or force manually ?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 29, 2022, 8:48am UTC](https://forum.mautic.org/t/a-contact-is-not-added-to-a-segments/23927/3 "2022-04-29T08:48:04Z")

</div>

You need to make sure your [mautic:segment:rebuild](https://docs.mautic.org/en/setup/cron-jobs) cron is running frequently.

> **[Cron jobs](https://docs.mautic.org/en/setup/cron-jobs)**
>
> . . . . Mautic 3 introduced a new path for cron jobs bin/console if you are using the legacy Mautic 2.x series you should replace this with the older version, app/console. . . . Mautic requires a few cron jobs to handle some maintenance tasks such as...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [February 23, 2024, 9:52am UTC](https://forum.mautic.org/t/a-contact-is-not-added-to-a-segments/23927/4 "2024-02-23T09:52:12Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
