Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. NameValueCollection properties = new NameValueCollection();
  2. properties["quartz.scheduler.instanceName"] = "SchedulinginstanceName";
  3. properties["quartz.scheduler.instanceId"] = "SchedulinginstanceId";
  4.  
  5. properties["quartz.threadPool.type"] = "Quartz.Simpl.SimpleThreadPool, Quartz";
  6. properties["quartz.threadPool.threadCount"] = "10";
  7. properties["quartz.threadPool.threadPriority"] = "Normal";
  8.  
  9. properties["quartz.jobStore.misfireThreshold"] = "60000";
  10. properties["quartz.jobStore.type"] = "Quartz.Impl.AdoJobStore.JobStoreTX, Quartz";
  11. properties["quartz.jobStore.useProperties"] = "true";
  12. properties["quartz.jobStore.dataSource"] = "default";
  13. properties["quartz.jobStore.tablePrefix"] = "QRTZ_";
  14. properties["quartz.jobStore.lockHandler.type"] = "Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore, Quartz";
  15.  
  16. properties["quartz.dataSource.default.connectionString"] = "Server=(local);Database=Backups;User Id="";Password="";Trusted_Connection=True;";
  17. properties["quartz.dataSource.default.provider"] = "SqlServer";
  18. properties["quartz.serializer.type"] = "json";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement