# Segments not being created

**URL:** <https://forum.mautic.org/t/segments-not-being-created/19776>\
**Category:** Product Support\
**Created:** [June 8, 2021, 9:24am UTC](https://forum.mautic.org/t/segments-not-being-created/19776 "2021-06-08T09:24:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nemaveze93](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nemaveze93/32/2819_2.png) [@nemaveze93](https://forum.mautic.org/u/nemaveze93)\
**Post date:** [June 8, 2021, 9:24am UTC](https://forum.mautic.org/t/segments-not-being-created/19776/1 "2021-06-08T09:24:42Z")

</div>

**Your software**  
My Mautic version is: 2.16.2  
My PHP version is: 7.3.27  
My Database type and version is: Mysql

**Your problem**  
My problem is:  
Hi Everyone,

I started my mautic instance using mautic provided docker image mautic/mautic:v3.

Here is my docker compose entry for the mautic instance.

```auto
mautic:
    image: mautic/mautic:v3

    container_name: mautic

    volumes:

      - mautic_data:/var/www/html

    environment:

      - MAUTIC_DB_HOST=lolcalhost

      - MYSQL_PORT_3306_TCP=3306

      - MAUTIC_DB_USER=root

      - MAUTIC_DB_PASSWORD=test

      - MAUTIC_DB_NAME=mautic

      - MAUTIC_RUN_CRON_JOBS=true

```

As you can see, I’ve added a flag MAUTIC\_RUN\_CRON\_JOBS with idea that cron jobs should automatically run in the container itself.

After I’ve imported the contacts, I created two segments. First one to select male and second one to select female users, but after that nothing is happening and my segments are still having 0 contacts. Any idea what I’m doing wrong here.

---

<div class="post-metadata">

**Author:** ![nemaveze93](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nemaveze93/32/2819_2.png) [@nemaveze93](https://forum.mautic.org/u/nemaveze93)\
**Post date:** [June 8, 2021, 9:54am UTC](https://forum.mautic.org/t/segments-not-being-created/19776/2 "2021-06-08T09:54:28Z")

</div>

After recreating everything and using explicitly the mautic/mautic:v3 (I previously used :latest) image, everything works as expected. Thank you for your support!
