cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dgrubesi
Level: Powered On

Schedule refresh database data

Hi to all, can someone tell  if it's possible in powerapps do schedule job for refreshing database every 10 minutes or something else. I have more than 10 table and i need fresh data. 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: Schedule refresh database data

Have you looked at the Timer control?  That would be your best option for doing timed anything - in this case a refresh on a datasource.

Community Support Team
Community Support Team

Re: Schedule refresh database data

Hi @dgrubesi,

Do you want to refresh your data source in a specific schedule?

Based on the needs that you mentioned, I think the Timer control could achieve your needs.

I have made a test on my side, please take a try with the following workaround:

Add a Timer control within your app, set the Duration property to following:

60000*10

Set the AutoStart property and Repeat property to following:

true

Set the OnTimerEnd property to following:

Refresh(YourTable1);
Refresh(YourTable2);
Refresh(YourTable3);
...
Refresh(YourTable10);

Note: The YourTable1, YourTable2, ...., YourtTable10 represents the data source within your app

Set the Visible property of the Timer control to following:

false

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Super User
Super User

Re: Schedule refresh database data

Have you looked at the Timer control?  That would be your best option for doing timed anything - in this case a refresh on a datasource.

Community Support Team
Community Support Team

Re: Schedule refresh database data

Hi @dgrubesi,

Do you want to refresh your data source in a specific schedule?

Based on the needs that you mentioned, I think the Timer control could achieve your needs.

I have made a test on my side, please take a try with the following workaround:

Add a Timer control within your app, set the Duration property to following:

60000*10

Set the AutoStart property and Repeat property to following:

true

Set the OnTimerEnd property to following:

Refresh(YourTable1);
Refresh(YourTable2);
Refresh(YourTable3);
...
Refresh(YourTable10);

Note: The YourTable1, YourTable2, ...., YourtTable10 represents the data source within your app

Set the Visible property of the Timer control to following:

false

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.