Have you read the documentation here?
https://apscheduler.readthedocs.io/en/stable/userguide.html#configuring-the-scheduler
You need to instantiate the RedisJobStore class and configure the scheduler to use it:
jobstores = {
'default': RedisJobStore()
}
scheduler =
BlockingScheduler(jobstores=jobstores)
Note that until the scheduler starts, get_jobs() will only show
the tentatively schedule jobs (those awaitin to be added to the
store), and not the jobs currently in the job store.
--
You received this message because you are subscribed to the Google Groups "APScheduler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apscheduler...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/d2fe7b63-8506-476b-9d01-f4206b0611bcn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/5667eb21-2584-8fde-cc18-d8a0bfee9b3b%40nextday.fi.
Were you not able to find this in the API documentation? https://apscheduler.readthedocs.io/en/stable/modules/schedulers/base.html#apscheduler.schedulers.base.BaseScheduler.add_jobstore
Also, I cannot read your mind so you need to tell me what errors you are getting.
The code you pasted is not even syntactically valid. Can you
provide me a script that reproduces the error(s)?
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/CAAeFBjAdqvmE4FEakd4gJ%3DQqAB6d50K%3DjAxzB9PTOdn7my%2BRPg%40mail.gmail.com.