Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I’m looking to implement a script that calls a web API at regular intervals (e.g. every hour). I’m using Flask as my server.
Should I use the Cron framework, or is it better to use Python’s schedule function to run the script?
Cron, otherwise you'll need something extra to make sure your python script is always running. Of course, this counts for cron too.
Required, but never shown