OpenMangosteen icon indicating copy to clipboard operation
OpenMangosteen copied to clipboard

apscheduler 运行问题

Open Yinyihang857 opened this issue 5 years ago • 1 comments

在多进程的情况下,apscheduler.start() 会被重复执行,导致定时任务重复执行,请问这个问题您是如何解决的呢?

Yinyihang857 avatar Apr 25 '19 13:04 Yinyihang857

判断是否主进程

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: YinYihang [email protected] 发送时间: 2019年4月25日 21:54 收件人: lyy8510a/OpenMangosteen [email protected] 抄送: Subscribed [email protected] 主题: 回复:[lyy8510a/OpenMangosteen] apscheduler 运行问题 (#3)

在多进程的情况下,apscheduler.start() 会被重复执行,导致定时任务重复执行,请问这个问题您是如何解决的呢?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lyy8510a avatar May 03 '19 14:05 lyy8510a