Python Flask Tutorial | Using Flask Scheduler for your Web App

preview_player
Показать описание
In the first flask tutorial we saw how to setup the flask website, however setting up the web application is only one part to any website. Many of use want to be able to do complex python functions in the background of the application. To do this we can use a scheduler made for the flask module to let us add jobs in the background. Allowing for the website to work seamlessly alongside the functions executed

Requirements:

pip install Flask-APScheduler

support future videos and projects:

Рекомендации по теме
Комментарии
Автор

Thanks for making the tutorial.
The install command was incorrect. Package is called Flask-APScheduler

pip3 install Flask-APScheduler

Akshatgiri
Автор

If we want to add multiple jobs using different functions, can we just add more jobs via .add_job( ) and then run .start( ) once?

pietraderdetective
Автор

You seem to running python rather than the flask run. Whch defeats the purpose here. If you have some routes to your app, they won't run. There must be other function. Do you know?

BijouBakson
Автор

hello how to avoid the red warning, please

garciamukoko