Hello Makers,
Does anyone know how I can get a custom action to run every 1 hour?
What happens is that I obtain weather data for different cities, so every time a user enters a city from a list I use a custom action to obtain the weather data through an API.
The issue is that this slows down the app, that is, the time it takes between updating the weather and going to the next screen.
So I think that if I could get the custom action to run only when the last city update was 1 hour ago, the application would be faster.
For now what I have is:
A list of cities, when a user clicks on a city I run a custom action to get the weather and save it to a property in the city.
Thanks so much, any help is welcome