Apologies if this is an old question. I have seem some mention of
this, but I'm still not confident of the right approach yet.
We're exploring the use of Quartz.NET however we have a multi-tenant
application with one database per tenant. We would like to duplicate
the Quartz.NET tables for each tenant into each database so that the
jobs etc. are physically seperated just like the rest of the tenant's
data.
The application we are running is based on ASP.NET and DDD. The middle
tier is shared among tenants and uses NHibernate to connect to
multiple databases (one per tenant). We assume we will need a Windows
Service to manage the schedule and connect to the ADO Job Store(s). Is
it possible for one Windows Service to do work for multiple stores?
ideally the Windows Service would be passed a collection of connection
strings telling it what stores to communicate with. Then it will
initiate the job and we will make sure somehow that the Job instance
is matched up to the right tenant.
BTW, we're happy to use Quartz.NET 2.0 if that helps and our code is
based on .NET 4.0.
Thanks in advance... if Quartz.NET is not the right way to go, that's
ok too. Just keen to find out before we get too far in.
Kind regards,
Ian