# Do every 5 seconds

**URL:** <https://forum.bubble.io/t/do-every-5-seconds/3916>\
**Category:** Need help\
**Created:** [June 25, 2016, 2:50pm UTC](https://forum.bubble.io/t/do-every-5-seconds/3916 "2016-06-25T14:50:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![z11](https://avatars.discourse-cdn.com/v4/letter/z/97f17d/32.png) [@z11](https://forum.bubble.io/u/z11)\
**Post date:** [June 25, 2016, 2:50pm UTC](https://forum.bubble.io/t/do-every-5-seconds/3916/1 "2016-06-25T14:50:35Z")

</div>

Hi. I’m trying to setup a workflow to get and store data from an external API every 60 seconds using the workflow rule. I map the data from the API to Create a new thing in the table, but no new data is being added to the table.

Any thoughts on what’s happening here?

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.bubble.io/u/raymond)\
**Post date:** [June 27, 2016, 9:20am UTC](https://forum.bubble.io/t/do-every-5-seconds/3916/2 "2016-06-27T09:20:04Z")

</div>

Is it possible to share a link or duplicate it in a public app? It’s difficult to say what can be wrong without seeing.

---

<div class="post-metadata">

**Author:** ![z11](https://avatars.discourse-cdn.com/v4/letter/z/97f17d/32.png) [@z11](https://forum.bubble.io/u/z11)\
**Post date:** [June 27, 2016, 1:35pm UTC](https://forum.bubble.io/t/do-every-5-seconds/3916/3 "2016-06-27T13:35:25Z")

</div>

Sure. Here’s the link:

> **[Bubble - Visual Programming](https://test2575.bubbleapps.io/test)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Thanks in advance for any help you can offer.

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.bubble.io/u/raymond)\
**Post date:** [June 27, 2016, 2:31pm UTC](https://forum.bubble.io/t/do-every-5-seconds/3916/4 "2016-06-27T14:31:24Z")

</div>

Can you provide a link to the development side?

---

<div class="post-metadata">

**Author:** ![z11](https://avatars.discourse-cdn.com/v4/letter/z/97f17d/32.png) [@z11](https://forum.bubble.io/u/z11)\
**Post date:** [June 27, 2016, 4:42pm UTC](https://forum.bubble.io/t/do-every-5-seconds/3916/5 "2016-06-27T16:42:47Z")

</div>

Here’s a link to the development site: [https://bubble.io/page?type=page&name=test&id=timingexample&tab=tabs-2](https://bubble.io/page?type=page&name=test&id=timingexample&tab=tabs-2)

It’s the workflow for “Do every 60 seconds”

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.bubble.io/u/raymond)\
**Post date:** [June 27, 2016, 5:40pm UTC](https://forum.bubble.io/t/do-every-5-seconds/3916/6 "2016-06-27T17:40:49Z")

</div>

It works fine. I’ve had your app open in preview mode for 5 min and every 60 seconds it updates your database.  
Have a look in your app data. It won’t update if your app is not running and you won’t notice it working if you don’t display it anything.

I’ve added a repeating group to show it works. How do you want to display the data? You might want to rethink how you’ve structured the data.

---

<div class="post-metadata">

**Author:** ![z11](https://avatars.discourse-cdn.com/v4/letter/z/97f17d/32.png) [@z11](https://forum.bubble.io/u/z11)\
**Post date:** [June 27, 2016, 6:14pm UTC](https://forum.bubble.io/t/do-every-5-seconds/3916/7 "2016-06-27T18:14:56Z")

</div>

When I have it in preview mode it does not appear to be updating. I manually click the button the page at 2:10pm, but since then no new data has been pulled.

What do you mean by "if you app is not running…wouldn’t it be running once the workflow is deployed?

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://forum.bubble.io/u/raymond)\
**Post date:** [June 27, 2016, 6:34pm UTC](https://forum.bubble.io/t/do-every-5-seconds/3916/8 "2016-06-27T18:34:48Z")

</div>

Sorry, bad choice of words on my side. When it’s in preview mode. It’s been updating since 8:14pm (my time), even when it’s not in preview mode.  
I worked on this one that you shared.

> [@Do every 5 seconds](http://forum.bubble.io/t/do-every-5-seconds/3916/5):
>
> Here’s a link to the development site: [https://bubble.io/page?type=page&name=test&id=timingexample&tab=tabs-2](https://bubble.io/page?type=page&name=test&id=timingexample&tab=tabs-2) It’s the workflow for “Do every 60 seconds”

[https://timingexample.bubbleapps.io/version-test/test](https://timingexample.bubbleapps.io/version-test/test)
