Forums

an endless loop that retrieves data

Hello, Is it possible to run a python file in "scheduled tasks" that has an endless loop and retrieves some data and records it to DB from some API for my flask app. I then plan to show that data on my flask website. If it is not possible, how can I run flask app and retrieve data at the same time on one app in PA ?

Thank you

Free accounts can run only one scheduled task per day for a limited time. If you need a permanent task we have an "Always-on task" feature for paid accounts.

I didn't know that it runs for a limited time. I'll consider paid version Thank you for reply