# Recurring events logic

**URL:** <https://forum.bubble.io/t/recurring-events-logic/251172>\
**Category:** Need help\
**Created:** [March 10, 2023, 8:39pm UTC](https://forum.bubble.io/t/recurring-events-logic/251172 "2023-03-10T20:39:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sensei01](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sensei01](https://forum.bubble.io/u/sensei01)\
**Post date:** [March 10, 2023, 8:39pm UTC](https://forum.bubble.io/t/recurring-events-logic/251172/1 "2023-03-10T20:39:59Z")

</div>

What I want to do is: every day delete all the records in a data type and create new ones. I try to do it with recurring workflows but am not sure what to enter in the “Workflow thing”.  
Here is the link of the [backend workflow](https://bubble.io/page?type=api&id=experiments-senad&tab=tabs-2) and the [trigger](https://bubble.io/page?type=page&name=recurring&id=experiments-senad&tab=tabs-2) in the frontend.

do you have any input on this? thanks

---

<div class="post-metadata">

**Author:** ![sensei01](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sensei01](https://forum.bubble.io/u/sensei01)\
**Post date:** [March 11, 2023, 11:20am UTC](https://forum.bubble.io/t/recurring-events-logic/251172/2 "2023-03-11T11:20:18Z")

</div>

@mikeloc any input would be appreciated. thanks

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [March 11, 2023, 2:02pm UTC](https://forum.bubble.io/t/recurring-events-logic/251172/3 "2023-03-11T14:02:55Z")

</div>

Hi there, @sensei01… for what it’s worth, I have never used a recurring event. If I want to do something similar to what you described, I would use a backend workflow where the last action in the workflow schedules the workflow to run again at some point in the future. So, maybe consider heading down that path.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![sensei01](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sensei01](https://forum.bubble.io/u/sensei01)\
**Post date:** [March 11, 2023, 2:05pm UTC](https://forum.bubble.io/t/recurring-events-logic/251172/4 "2023-03-11T14:05:15Z")

</div>

Thanks @mikeloc. But how can I make the backend workflow run every day at a certain hour?

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [March 11, 2023, 2:13pm UTC](https://forum.bubble.io/t/recurring-events-logic/251172/5 "2023-03-11T14:13:08Z")

</div>

You would kick off the workflow the first time from the front end, and you would schedule it to run at the current date/time +(days) 1 rounded down to date. Then, the last step in the backend workflow would schedule the same workflow to run at the current date/time +(days) 1.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 19, 2023, 8:40pm UTC](https://forum.bubble.io/t/recurring-events-logic/251172/6 "2023-05-19T20:40:00Z")

</div>

Closed on May 19, 2023, 8:40pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
