2

1.xでQuartz.Netスケジューラーを構成して起動する方法は次のとおりです。

properties["quartz.scheduler.instanceName"] = instanceName;
properties["quartz.scheduler.instanceId"] = "AUTO";
properties["quartz.threadPool.type"] = "Quartz.Simpl.SimpleThreadPool, Quartz";
properties["quartz.threadPool.threadCount"] = threadCount;
properties["quartz.threadPool.threadPriority"] = "Normal";
properties["quartz.jobStore.misfireThreshold"] = "60000";
properties["quartz.jobStore.type"] = "Quartz.Impl.AdoJobStore.JobStoreTX, Quartz";
properties["quartz.jobStore.useProperties"] = "true";
properties["quartz.jobStore.dataSource"] = "default";
properties["quartz.jobStore.tablePrefix"] = tablePrefix;
properties["quartz.jobStore.clustered"] = "false";
properties["quartz.jobStore.lockHandler.type"] = "Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore, Quartz";
properties["quartz.dataSource.default.connectionString"] = connectionString;
properties["quartz.dataSource.default.provider"] = "SqlServer-20";
schedFact = new StdSchedulerFactory(properties);
svcScheduler = schedFact.GetScheduler();
svcScheduler.Start();

2.xに移行した後、ここで何かを変更する必要がありますか?

最も重要なのはquartz.dataSource.default.provider、SQL ServerがまだあるのSqlServer-20か、それとも何か変更があったのかということです。

4

1 に答える 1

2

Quartz.net2.xの構成は実際には何も変更されていません。ここで
いくつかの有用な情報を見つけることができます。

SqlServer-20はい、 MS Sql Serverを使用する場合は、引き続き使用する必要があります。

dbプロバイダーの完全なリストについては、こちらをご覧ください。

于 2013-02-13T09:42:47.487 に答える