# Recuring Work Flow At Specific Time

**URL:** <https://forum.bubble.io/t/recuring-work-flow-at-specific-time/352492>\
**Category:** Questions\
**Created:** [December 17, 2024, 9:06pm UTC](https://forum.bubble.io/t/recuring-work-flow-at-specific-time/352492 "2024-12-17T21:06:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![grayson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/grayson/32/235353_2.png) [@grayson](https://forum.bubble.io/u/grayson)\
**Post date:** [December 17, 2024, 9:06pm UTC](https://forum.bubble.io/t/recuring-work-flow-at-specific-time/352492/1 "2024-12-17T21:06:54Z")

</div>

**Scenario:** A user completes today’s lesson, and they cannot start the next lesson until _1:00 AM the following day_.

The challenge is that I don’t know when the user will finish their lesson, so the standard recurring event options (minutes, hours, days, weeks) don’t fit my needs.

Everything else in my setup is working—I just need help with the workflow to **set the Start Date of the recurring workflow specifically to 1:00 AM the next day** , regardless of when the current lesson is completed.

How can I achieve this?

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [December 17, 2024, 9:09pm UTC](https://forum.bubble.io/t/recuring-work-flow-at-specific-time/352492/2 "2024-12-17T21:09:02Z")

</div>

Have a database trigger ‘Only when Lesson now’s completed is yes and lesson before change’s completed is no’.

That’ll run whenever the lesson is completed. Then, inside the trigger, schedule API workflow to run at 1:00am on Current date/time:rounded down to day +hours 25, and that’ll run at 1:00am the next day.

Inside _that_ workflow, add the lesson to the user’s account or whatever you want to do.

---

<div class="post-metadata">

**Author:** ![grayson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/grayson/32/235353_2.png) [@grayson](https://forum.bubble.io/u/grayson)\
**Post date:** [December 17, 2024, 11:18pm UTC](https://forum.bubble.io/t/recuring-work-flow-at-specific-time/352492/3 "2024-12-17T23:18:31Z")

</div>

This seems like a pretty big workaround. Could I just run it daily and within the workflow add a condition: Only when Current date/time:formatted as hh:mm = 01:00? Or something like that? I am just unsure of how to do that within bubble.

---

<div class="post-metadata">

**Author:** ![georgecollier](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/georgecollier/32/182327_2.png) [@georgecollier](https://forum.bubble.io/u/georgecollier)\
**Post date:** [December 17, 2024, 11:25pm UTC](https://forum.bubble.io/t/recuring-work-flow-at-specific-time/352492/4 "2024-12-17T23:25:42Z")

</div>

> [@grayson](#):
>
> This seems like a pretty big workaround

No, it’s the right way to do it.

> [@grayson](#):
>
> Only when Current date/time:formatted as hh:mm = 01:00

If this was possible, it would entail checking this condition every second, which is wildly inefficient. That’s why we schedule something to happen at a particular time, rather than checking if it _is_ a particular time.
