1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
- <beans>
- <bean name="jobstore" class="org.springframework.scheduling.quartz.JobDetailBean">
- <property name="jobClass">
- <value>com.gyee.timer.WtTargetReport</value>
- </property>
- <property name="jobDataAsMap">
- <map>
- <entry key="wttragetreportService" value-ref="wttragetreportService" />
- <entry key="wttragetreportmainService" value-ref="wttragetreportmainService" />
- <entry key="wttragetreportchartService" value-ref="wttragetreportchartService" />
- <entry key="wttragetreportfnlylService" value-ref="wttragetreportfnlylService" />
- <entry key="wttragetreportpartService" value-ref="wttragetreportpartService" />
- <entry key="wttragetreportkkxfxService" value-ref="wttragetreportkkxfxService" />
- <entry key="wttragetreportnhydService" value-ref="wttragetreportnhydService" />
- <entry key="wttragetreportxndjpjService" value-ref="wttragetreportxndjpjService" />
- </map>
- </property>
- </bean>
- <bean id="cron" class="org.springframework.scheduling.quartz.CronTriggerBean">
-
- <property name="jobDetail">
- <ref bean="jobstore" />
- </property>
- <property name="startDelay" value="10000" />
- <property name="cronExpression">
- <value>0 30 7 * * ?</value>
- </property>
- </bean>
- <bean autowire="no"
- class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
- <property name="autoStartup" value="true" />
- <property name="triggers">
- <list>
- <ref local="cron" />
- <!-- <ref local="cron" /> -->
- </list>
- </property>
- <property name="quartzProperties">
- <map>
- <entry key="org.quartz.threadPool.threadCount" value="10"/>
- </map>
- </property>
- </bean>
-
-
-
- </beans>
|