[Flask] Scheduled tasks

Can Hoşgör canhosgor at gmail.com
Thu Sep 17 14:34:11 CEST 2015


If think using a task queue will be overkill, you can simply write
your function as a route in your app. And then, set up a cron job that
periodically does a curl request to your route.

On Tue, Sep 15, 2015 at 2:53 PM, Corey Boyle <coreybrett at gmail.com> wrote:
> Is it possible to schedule a task/function to run every x minutes in
> Flask? Or would I need to user a separate worker process for that? I’m
> just looking to log some stats about my web app on an ongoing basis.
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask


More information about the Flask mailing list