Quartz.NET Instance Handling Problem
Posted
by Dhon
on Stack Overflow
See other posts from Stack Overflow
or by Dhon
Published on 2010-03-31T07:58:52Z
Indexed on
2010/03/31
8:03 UTC
Read the original article
Hit count: 590
quartz.net
|quartz-scheduler
Hi,
I have 2 instances which implements 2 different instance IDs in 2 different windows services as:
//windows service 1 instance 1 properties["quartz.scheduler.instanceName"] = "instanceName1"; properties["quartz.scheduler.instanceId"] = "instanceID1";
//windows service 2 instance 2 properties["quartz.scheduler.instanceName"] = "instanceName2"; properties["quartz.scheduler.instanceId"] = "instanceID2";
In the ADOJobstore, I can see that there are two instances.
However, when I schedule a simple job in instance1, it is getting triggered in instance2 (and vise versa). By looking at the records created in jobstore, the scheduled job are properly tagged with the expected instanceIDs. Any idea of why this is happening?
© Stack Overflow or respective owner