123456789101112131415161718 |
- <?xml version="1.0" encoding="UTF-8"?>
- <beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:reg="http://www.dangdang.com/schema/ddframe/reg"
- xmlns:job="http://www.dangdang.com/schema/ddframe/job"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- http://www.dangdang.com/schema/ddframe/reg
- http://www.dangdang.com/schema/ddframe/reg/reg.xsd
- http://www.dangdang.com/schema/ddframe/job
- http://www.dangdang.com/schema/ddframe/job/job.xsd">
- <reg:zookeeper id="regCenter" server-lists="${zookeeper.connect}" namespace="wms-job" base-sleep-time-milliseconds="5000" max-sleep-time-milliseconds="10000" max-retries="3" />
- <job:simple id="DeliverDocumentBakTaskJob" description="备份装箱单" cron="0/5 * * * * ?" class="com.cwms.saas.els.quartz.DeliverDocumentBakTask" registry-center-ref="regCenter" sharding-total-count="1" sharding-item-parameters="0=A" overwrite="true"/>
- <job:simple id="InventoryAndSaleBakTask" description="备份进销存" cron="0/5 * * * * ?" class="com.cwms.saas.els.quartz.InventoryAndSaleBakTask" registry-center-ref="regCenter" sharding-total-count="1" sharding-item-parameters="0=A" overwrite="true"/>
- </beans>
|