from apscheduler.schedulers.blocking import BlockingScheduler
from GoogleSheetAPI import writedata
sched = BlockingScheduler()
sched.add_job(writedata,'corn' day_of_week='mon-fri', hour=10, minute=30)
sched.start()
它立即启动功能,它不等待给定时间。我试图在每个星期一到星期五的 10:30 运行它
至尊宝的传说
相关分类