quartz_jobs.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- This file contains job definitions in schema version 2.0 format -->
  3. <job-scheduling-data xmlns="http://quartznet.sourceforge.net/JobSchedulingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0">
  4. <processing-directives>
  5. <overwrite-existing-data>true</overwrite-existing-data>
  6. </processing-directives>
  7. <schedule>
  8. <!--定时上传数据-->
  9. <job>
  10. <name>DataUploadJob</name>
  11. <group>DataUpload</group>
  12. <description>数据定时上传服务</description>
  13. <job-type>TimedUpload.QuartzJobs.DataUploadJob,TimedUpload</job-type>
  14. <durable>true</durable>
  15. <recover>false</recover>
  16. </job>
  17. <trigger>
  18. <cron>
  19. <name>DataUploadJobTrigger</name>
  20. <group>DataUpload</group>
  21. <job-name>DataUploadJob</job-name>
  22. <job-group>DataUpload</job-group>
  23. <start-time>2017-08-08T00:00:00+08:00</start-time>
  24. <cron-expression>0 0 2 * * ? </cron-expression>
  25. </cron>
  26. </trigger>
  27. <!--<job>
  28. <name>ValueControlJob</name>
  29. <group>ValueControl</group>
  30. <description>阀控指令定时发送</description>
  31. <job-type>TimedUpload.QuartzJobs.ValueControlJob,TimedUpload</job-type>
  32. <durable>true</durable>
  33. <recover>false</recover>
  34. </job>
  35. <trigger>
  36. <cron>
  37. <name>ValueControlJobTrigger</name>
  38. <group>ValueControl</group>
  39. <job-name>ValueControlJob</job-name>
  40. <job-group>ValueControl</job-group>
  41. <start-time>2017-08-08T00:00:00+08:00</start-time>
  42. <cron-expression>0 0 2 * * ? </cron-expression>
  43. </cron>
  44. </trigger>-->
  45. </schedule>
  46. </job-scheduling-data>