apscheduler定时任务报错skipped: maximum number of running instances reached (1)

原因是默认max_instances最大定时任务是1个,可以通过在add_job中调max_instances增加数量。
如:

scheduler.add_job(func=add, trigger='cron',minute=3,hour='*/3',misfire_grace_time=3600, max_instances=4)

相关文章:

  • 2021-08-22
  • 2022-02-09
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
  • 2021-06-22
猜你喜欢
  • 2021-07-06
  • 2021-07-24
  • 2022-12-23
  • 2021-07-21
  • 2021-05-31
  • 2021-10-07
相关资源
相似解决方案