Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NameValueCollection properties = new NameValueCollection();
- properties["quartz.scheduler.instanceName"] = "SchedulinginstanceName";
- properties["quartz.scheduler.instanceId"] = "SchedulinginstanceId";
- properties["quartz.threadPool.type"] = "Quartz.Simpl.SimpleThreadPool, Quartz";
- properties["quartz.threadPool.threadCount"] = "10";
- 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"] = "QRTZ_";
- properties["quartz.jobStore.lockHandler.type"] = "Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore, Quartz";
- properties["quartz.dataSource.default.connectionString"] = "Server=(local);Database=Backups;User Id="";Password="";Trusted_Connection=True;";
- properties["quartz.dataSource.default.provider"] = "SqlServer";
- properties["quartz.serializer.type"] = "json";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement