123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
- <beans>
-
- <!--************************************************天气预报未来1个月***************************************************************** -->
- <bean name="jobstore7" class="org.springframework.scheduling.quartz.JobDetailBean">
- <property name="jobClass">
- <!-- <value>com.gyee.timer.YjFromDataJobAppend</value> -->
- <value>com.gyee.timer.ForecastwindspeedJob</value>
- </property>
- <property name="jobDataAsMap">
- <map>
- <entry key="weatherfdService" value-ref="weatherfdService" />
- <entry key="forecastwindspeedService" value-ref="forecastwindspeedService" />
- </map>
- </property>
- </bean>
- <bean id="cron7" class="org.springframework.scheduling.quartz.CronTriggerBean">
- <property name="jobDetail">
- <ref bean="jobstore7" />
- </property>
- <property name="startDelay" value="1000" />
- <property name="cronExpression">
- <!--<value>0 15 0/1 * * ?</value> -->
- <value>0 15 0/1 * * ?</value>
- </property>
- </bean>
- <!--************************************************天气预报未来1个月***************************************************************** -->
-
- <!--************************************************天气预报未来1个月修正***************************************************************** -->
- <bean name="jobstore8" class="org.springframework.scheduling.quartz.JobDetailBean">
- <property name="jobClass">
- <!-- <value>com.gyee.timer.YjFromDataJobAppend</value> -->
- <value>com.gyee.timer.ForecastwindspeedamendedJob</value>
- </property>
- <property name="jobDataAsMap">
- <map>
- <entry key="weatherfdService" value-ref="weatherfdService" />
- <entry key="forecastwindspeedamendedService" value-ref="forecastwindspeedamendedService" />
- </map>
- </property>
- </bean>
- <bean id="cron8" class="org.springframework.scheduling.quartz.CronTriggerBean">
- <property name="jobDetail">
- <ref bean="jobstore8" />
- </property>
- <property name="startDelay" value="1000" />
- <property name="cronExpression">
- <!--<value>0 15 0/1 * * ?</value> -->
- <value>0 15 0/1 * * ?</value>
- </property>
- </bean>
- <!--************************************************天气预报未来1个月修正***************************************************************** -->
-
- <!--************************************************天气预报未来1个月拟合***************************************************************** -->
- <bean name="jobstore9" class="org.springframework.scheduling.quartz.JobDetailBean">
- <property name="jobClass">
- <!-- <value>com.gyee.timer.YjFromDataJobAppend</value> -->
- <value>com.gyee.timer.ForecastwindspeedfittingJob</value>
- </property>
- <property name="jobDataAsMap">
- <map>
- <entry key="weatherfdService" value-ref="weatherfdService" />
- <entry key="forecastwindspeedfittingService" value-ref="forecastwindspeedfittingService" />
- <entry key="forecastwindspeedfittingbywtService" value-ref="forecastwindspeedfittingbywtService" />
- </map>
- </property>
- </bean>
- <bean id="cron9" class="org.springframework.scheduling.quartz.CronTriggerBean">
- <property name="jobDetail">
- <ref bean="jobstore9" />
- </property>
- <property name="startDelay" value="1000" />
- <property name="cronExpression">
- <value>0 55 11 * * ?</value>
- <!-- <value>0 51 10 * * ?</value> -->
- </property>
- </bean>
- <!--************************************************天气预报未来1个月拟合***************************************************************** -->
- <!--************************************************天气预报未来小时月拟合***************************************************************** -->
- <bean name="jobstore10" class="org.springframework.scheduling.quartz.JobDetailBean">
- <property name="jobClass">
- <!-- <value>com.gyee.timer.YjFromDataJobAppend</value> -->
- <value>com.gyee.timer.ForecastwindspeedfittinghourJob</value>
- </property>
- <property name="jobDataAsMap">
- <map>
- <entry key="weatherfhService" value-ref="weatherfhService" />
- <entry key="forecastwindspeedfittinghourService" value-ref="forecastwindspeedfittinghourService" />
- <entry key="forecastwindspeedfittingwthourService" value-ref="forecastwindspeedfittingwthourService" />
- </map>
- </property>
- </bean>
- <bean id="cron10" class="org.springframework.scheduling.quartz.CronTriggerBean">
- <property name="jobDetail">
- <ref bean="jobstore10" />
- </property>
- <property name="startDelay" value="1000" />
- <property name="cronExpression">
- <value>0 0 0/1 * * ?</value>
- <!-- <value>0 51 10 * * ?</value> -->
- </property>
- </bean>
- <!--************************************************天气预报未来小时月拟合***************************************************************** -->
-
- <bean autowire="no"
- class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
- <property name="autoStartup" value="true" />
- <property name="triggers">
- <list>
- <ref local="cron7" />
- <ref local="cron8" />
- <ref local="cron9" />
- <ref local="cron10" />
- </list>
- </property>
- <property name="quartzProperties">
- <map>
- <entry key="org.quartz.threadPool.threadCount" value="10" />
- </map>
- </property>
- </bean>
- </beans>
|