Answer the question
In order to leave comments, you need to log in
How to run a cron parser?
There is a parser written using the flask framework. Can you please tell me how to run it periodically using cron?
On stackoverflow, it is advised to use the BackgroundScheduler package for such purposes. But I would like to use exactly cron
. The problem is that after the command is launched, the flask run
parser works, but the next time you have to somehow stop the application (if this is even possible).
Answer the question
In order to leave comments, you need to log in
Use Flask-Script for this.
You are clearly doing something wrong...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question