How do I schedule an interval job with APScheduler?

后端 未结 5 2048
情话喂你
情话喂你 2020-12-19 05:32

I\'m trying to schedule an interval job with APScheduler (v3.0.0).

I\'ve tried:

from apscheduler.schedulers.blocking import BlockingScheduler
sched =         


        
5条回答
  •  不知归路
    2020-12-19 05:42

    The documentation had an error there. I've fixed it now. That first line should be:

    from apscheduler.schedulers.blocking import BlockingScheduler
    

    It would've raised an ImportError though, but you didn't mention any. Did you try any of the provided examples?

提交回复
热议问题