【python 错误】next run at: 2021-11-04 14:24:30 CST)“ skipped: maximum number of running instances reach
当我们使用from apscheduler.schedulers.blocking import BlockingSchedulerBlockingScheduler调度任务时,出现如下错误:next run at: 2021-11-04 14:24:30 CST)" skipped: maximum number of running instances reached (1)如何解决:将max
·
当我们使用from apscheduler.schedulers.blocking import BlockingScheduler
BlockingScheduler调度任务时,出现如下错误:
next run at: 2021-11-04 14:24:30 CST)" skipped: maximum number of running instances reached (1)
如何解决:
将max_instances设置大一点。
sched.add_job(run_job, 'cron', minute='0-59',max_instances=10)
更多推荐
已为社区贡献13条内容
所有评论(0)