task.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:task="http://www.springframework.org/schema/task"
  4. xmlns:context="http://www.springframework.org/schema/context"
  5. xsi:schemaLocation="
  6. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
  7. http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.0.xsd
  8. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
  9. <!--超时自动确认收货-->
  10. <task:scheduled-tasks>
  11. <task:scheduled ref="OrderTask" method="autoConfirmOrderRevice" cron="0 0 1 * * ?"/>
  12. </task:scheduled-tasks>
  13. <!--每天零层清理上架的临时表-->
  14. <task:scheduled-tasks>
  15. <task:scheduled ref="releaseByBatchTask" method="autoCleanReleaseByBatch" cron="0 0 1 * * ?"/>
  16. </task:scheduled-tasks>
  17. <!--超时自动初评-->
  18. <task:scheduled-tasks>
  19. <task:scheduled ref="RateTask" method="autoRate" cron="0 0 1 * * ?"/>
  20. </task:scheduled-tasks>
  21. <!--超时自动追评-->
  22. <task:scheduled-tasks>
  23. <task:scheduled ref="RateTask" method="autoAfterRate" cron="0 0 1 * * ?"/>
  24. <!-- <task:scheduled ref="RateTask" method="autoAfterRate" cron="* */10 * * * ?"/>-->
  25. </task:scheduled-tasks>
  26. <!--批次过期自动下架-->
  27. <!--<task:scheduled-tasks>-->
  28. <!--<task:scheduled ref="CommodityTask" method="autoDownOverDueCommodity" cron="0 0 1 * * ?"/>-->
  29. <!--</task:scheduled-tasks>-->
  30. <task:scheduled-tasks>
  31. <task:scheduled ref="CommonTask" method="updateCount" cron="0 0 1 * * ?"/>
  32. </task:scheduled-tasks>
  33. <context:annotation-config />
  34. </beans>