# Campaign duration and segment membership

**URL:** https://forum.mautic.org/t/campaign-duration-and-segment-membership/34112
**Category:** Product Support
**Created:** [November 13, 2024, 5:15pm UTC](https://forum.mautic.org/t/campaign-duration-and-segment-membership/34112 "2024-11-13T17:15:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![issi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/issi/32/12679_2.png) [@issi](https://forum.mautic.org/u/issi)
#### Post date: [November 13, 2024, 5:15pm UTC](https://forum.mautic.org/t/campaign-duration-and-segment-membership/34112/1 "2024-11-13T17:15:16Z")

</div>

**Your software**  
My Mautic version is:v5.1.1  
My PHP version is:8.1.29  
My Database type and version is:10.5.25-MariaDB-ubu2004

**Your problem**  
My problem is: I fill a segment with new customers who bought for the first time exactly 7 days ago. This segment is the contact source of my campaign. The campaign runs for 4 weeks. 4 emails every 7 days. Do the contacts have to be in the segment for the entire 4 weeks or is it enough at the beginning? And do any settings have to be made to only use it initially?

These errors are showing in the log:

Steps I have tried to fix the problem:
