# Are Campaign Scheduled Times Working As Expected for you? Mine are not :-( Help

**URL:** <https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870>\
**Category:** Product Support\
**Created:** [December 2, 2021, 1:49pm UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870 "2021-12-02T13:49:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [December 2, 2021, 1:49pm UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/1 "2021-12-02T13:49:24Z")

</div>

**Your software**  
My Mautic version is: 4.0.2  
My PHP version is: 7.4

We have a campaign setup that is meant to send SMS at a very specific time in the day. at 11am, however when we start to analyze our data we are seeing that this condition is not holding true.

My campaign looks like this:

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

The one that triggered an alert for us was sending the SMS MNC-S2 which is scheduled to go out 2 days later at 11:00.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/97012dbc6c1edda63064d8e3ae41909218254354.png)

Inside our BI we have created a dashboard to monitor campaigns and sending times and this is how we were alreted:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/dc3ae3b8987c70342dbcfb76c8031e4f4eac2d00.png)

This is a list of SMS sends per hour according to campaign and channel creative.  
So by looking at this immediately I see that MNC-S2 is being sent out at all different times of the day + night and not at the allocated time of 11am.

If I look at the contact card I can see the time as well

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

And it is no surprise the user unsubscribed as they received an SMS so late at night.

Am I doing something wrong in the setting up of the Action or is this a potential bad bug ?

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [December 3, 2021, 10:27am UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/2 "2021-12-03T10:27:11Z")

</div>

Date and time based stuff in Mautic has always been problematic. I have given up after trying all kinds of works arounds. I can’t offer a solution, only share your frustration.

---

<div class="post-metadata">

**Author:** ![danieleaccuware](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danieleaccuware/32/627_2.png) [@danieleaccuware](https://forum.mautic.org/u/danieleaccuware)\
**Post date:** [December 3, 2021, 1:42pm UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/3 "2021-12-03T13:42:13Z")

</div>

Same here. No way to have them PROPERLY work.  
Sometimes, when there are just 2-3 test contacts in the campaign, everything works PERFECTLY.  
But when more contacts join, it’s random.

We had Black Friday deals emails being sent 3 days later…

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [December 3, 2021, 3:17pm UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/4 "2021-12-03T15:17:16Z")

</div>

I think this is a major problem in the platform itself, and I am pretty sure that either I am configuring this the wrong way or this a a bug that should be addressed seriously and maybe have a bounty on it.

How can any serious company be prepared to send out SMS at unknown times or emails or push for that matter of fact. It has the functionality there, maybe no one up till now has really investigated this and jumped into an analysis.

@silavapi - what do you think of this ? Is it something that I should open an issue on GitHub on and if so where should I put it ?

---

<div class="post-metadata">

**Author:** ![danieleaccuware](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danieleaccuware/32/627_2.png) [@danieleaccuware](https://forum.mautic.org/u/danieleaccuware)\
**Post date:** [December 3, 2021, 3:50pm UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/5 "2021-12-03T15:50:09Z")

</div>

I can tell you that our server is properly configured. What seems to be is that there are issues with:

- cronjob scheduling - this is a super important topic that so far no one (that I found at least) explained completely, a serious guide on how often to configure the cronjobs would be needed
- cronjobs execution, in particular if you have a dual core CPU (each cron takes 1 whole core for the entire execution of the job)
- amount of emails that your SMTP can send each second
- amount of email that you ask Mautic to send for each interaction (cronjob execution)

---

<div class="post-metadata">

**Author:** ![danieleaccuware](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danieleaccuware/32/627_2.png) [@danieleaccuware](https://forum.mautic.org/u/danieleaccuware)\
**Post date:** [December 3, 2021, 3:54pm UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/6 "2021-12-03T15:54:06Z")

</div>

Stupid question, anyway:  
What is the timezone set inside Mautic?  
What is the server’s timezone?

This can help at least understand if these settings affect somehow the actions.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [December 3, 2021, 8:22pm UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/7 "2021-12-03T20:22:54Z")

</div>

My timezone and server are all the same as well as the user timezone that is configuring the campaigns.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [December 4, 2021, 11:48am UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/8 "2021-12-04T11:48:46Z")

</div>

When I look at the sql campaign\_events table this is what I see, interesting to get an understanding around the trigger mode and what is the difference:

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

As you can see above the MNC-S2 is set to trigger on an interval at 11:00:00

The Within 2 days event on a negative path of the Open Mail Decision - my understanding this will only be triggered if the person has not opened a mail for 2 days, it will then go down the negative path, to the SMS:MNC-S2 action, check the criteria for this action which is to only send at 11am, but now I am wondering what if the scenario is as follows: the contact was sent an email at 1pm, two days passed they have still not opened the email, it is now + 2days 1pm, so it goes down the negative path, it looks at the criteria and sees to send at 11am, however this time has passed, so could it be that it send automatically if the time on that specific day as passed ?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [December 6, 2021, 10:35am UTC](https://forum.mautic.org/t/are-campaign-scheduled-times-working-as-expected-for-you-mine-are-not-help/21870/9 "2021-12-06T10:35:18Z")

</div>

Community - is it only me that feels like this is a very important topic and should get a bit more attention ?
