[Flask] Scheduled tasks

Corey Boyle coreybrett at gmail.com
Thu Sep 17 14:39:07 CEST 2015


I like that! Simple, but effective.
Now that I think about it, that's how Moodle works too.

On Thu, Sep 17, 2015 at 8:34 AM, Can Hoşgör <canhosgor at gmail.com> wrote:
> 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