is it possible to run a task scheduler in bottle web framework

纵饮孤独 提交于 2019-12-11 04:06:40

问题


Does anyone have any examples on how to integrate a task scheduler in Bottle. Something like APScheduler or sched?


回答1:


I would suggest threading it allows the webserver to be unaffected by the scheduled tasks that will either be in a queue or written into the code itself.



来源:https://stackoverflow.com/questions/10477310/is-it-possible-to-run-a-task-scheduler-in-bottle-web-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!