Adding new jobstore dynamically

28 views
Skip to first unread message

Mohit Agrawal

unread,
Jun 8, 2022, 9:51:26 PM6/8/22
to APScheduler
Hi,

We are trying to add a new jobstore dynamically to an already running BackgroundScheduler. 

The scheduler.add_jobstore() function works fine as we can see new job registered in jobstore based database. However the added job doesn't run at schedule time. When we restart the BackgroundScheduler then it picks the jobs added in new jobstore. 

Do we need to restart the scheduler if we add new jobstore to already running scheduler?

Regards
Mohit Agrawal


Mohit Agrawal

unread,
Jun 8, 2022, 9:54:20 PM6/8/22
to APScheduler
we are using 3.7.0 and mongoDB as jobstore. 
Reply all
Reply to author
Forward
0 new messages