1. 程式人生 > >如何在python的定時任務框架apscheduler中尋找丟失的定時任務

如何在python的定時任務框架apscheduler中尋找丟失的定時任務

http://apscheduler.readthedocs.io/en/latest/modules/schedulers/base.html?highlight=add_jobstore

add_jobstore(jobstorealias='default'**jobstore_opts)

Adds a job store to this scheduler.

Any extra keyword arguments will be passed to the job store plugin’s constructor, assuming that the first argument is the name of a job store plugin.

Parameters:
  • jobstore(str|unicode|apscheduler.jobstores.base.BaseJobStore) – job store to be added
  • alias (str|unicode) – alias for the job store
Raises:

ValueError – if there is already a job store by the given alias