Replies: 1 comment 2 replies
-
@lahma do you have any inputs on this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@lahma do you have any inputs on this? |
Beta Was this translation helpful? Give feedback.
-
I am using the Quartz 3.5.0 version in .Net 6 application. Its multitenant application. I use a dictionary with tenantId as the key and scheduler as the value. So based on the request for a given tenant, my code picks the respective schedule and works as expected.
Now I would like to have only a single schedule but multiple tenant databases ( which have quartz-related tables).
So I create an instance of schedule and at runtime based on the tenantId value I create a new schedule and assign it to the same schedule instance.
It's working fine. but there is an issue, jobs/triggers are created in the same database ( the one which is used for the very first request( only, ideally, it should point to the respective database.
Beta Was this translation helpful? Give feedback.
All reactions