You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #198 on May 11, 2021 01:35.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
应用部署在heroku,根目录创建了
clock.py
,并通过clock: python clock.py --logLEVEL = INFO
能正常启动定时任务:clock.py
代码清单:目前的写法主要参考了Flask-APScheduler定时任务查询操作数据库(多文件/模块),可以正常运行,但是觉得会有更优雅的实现方式,只是不太清楚怎么实现,麻烦解答下 😄
Beta Was this translation helpful? Give feedback.
All reactions