# 24hrs delay on task scheduling

**URL:** https://forum.mautic.org/t/24hrs-delay-on-task-scheduling/18281
**Category:** Product Support
**Created:** [February 23, 2021, 7:53pm UTC](https://forum.mautic.org/t/24hrs-delay-on-task-scheduling/18281 "2021-02-23T19:53:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![danielhilst](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danielhilst/32/2132_2.png) [@danielhilst](https://forum.mautic.org/u/danielhilst)
#### Post date: [February 23, 2021, 7:53pm UTC](https://forum.mautic.org/t/24hrs-delay-on-task-scheduling/18281/1 "2021-02-23T19:53:40Z")

</div>

**Your software**  
My Mautic version is: 3.2.2  
My PHP version is: 7.3  
My Database type and version is: 5.7

**Your problem**  
My problem is:

I have a task with a time requirement

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

When I start a campaign I want it to start send the SMSs but what happens is that it schedules the actions to the next day. It’s like as if it catches the current time and adds 24hrs. I can see this in database at `lead_event_log`. Is this expected behavior? Am I missing something?

Steps I have tried to fix the problem: Ask in forum for help 🙂

---

<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: [February 23, 2021, 7:57pm UTC](https://forum.mautic.org/t/24hrs-delay-on-task-scheduling/18281/2 "2021-02-23T19:57:21Z")

</div>

Hi,  
I think yes, if you add 1 day, it will calculate 24 hours.  
You can do it also this way: Add 12 hours, and specify the window, like you did.  
The SMS will be sent next opportunity when the window comes up. So if someone triggers the action at 19:00, then they are scheduled for 7:00, but the window is not open, so at 9:00 they will get the SMS.  
Good luck,  
Joey

---

<div class="post-metadata">

### Author: ![danielhilst](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/danielhilst/32/2132_2.png) [@danielhilst](https://forum.mautic.org/u/danielhilst)
#### Post date: [February 23, 2021, 11:22pm UTC](https://forum.mautic.org/t/24hrs-delay-on-task-scheduling/18281/3 "2021-02-23T23:22:27Z")

</div>

I can only select a time window if I select “day(s)” in the combo-box. If I have a timebox from 9 to 20 and I trigger an event at 15, I expect it to run at 15 not at 9 of the next day. This is confusing and frustrating in my opinion.

I’m looking for something like “immediately but only in this timebox” 😕
