123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?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="jobstore1" class="org.springframework.scheduling.quartz.JobDetailBean">
- <property name="jobClass">
- <value>com.gyee.timer.EeatureExtJob</value>
- </property>
- <property name="jobDataAsMap">
- <map>
- <entry key="gradeAssessmentService" value-ref="gradeAssessmentService" />
- </map>
- </property>
- </bean>
- <bean name="jobstore9" class="org.springframework.scheduling.quartz.JobDetailBean">
- <property name="jobClass">
- <value>com.gyee.timer.FeatureExtJob</value>
- </property>
- <property name="jobDataAsMap">
- <map>
- <entry key="gradeAssessmentService" value-ref="gradeAssessmentService" />
- </map>
- </property>
- </bean>
- <!--****************************************************************************************************************-->
-
- <bean id="cron1" class="org.springframework.scheduling.quartz.CronTriggerBean">
- <property name="jobDetail">
- <ref bean="jobstore1" />
- </property>
- <property name="startDelay" value="10000" />
- <property name="cronExpression">
- <value>0 45 7 * * ?</value>
- </property>
- </bean>
- <bean id="cron9" class="org.springframework.scheduling.quartz.CronTriggerBean">
- <property name="jobDetail">
- <ref bean="jobstore9" />
- </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="cron9" />
- <ref local="cron1" />
-
-
-
- </list>
- </property>
- <property name="quartzProperties">
- <map>
- <entry key="org.quartz.threadPool.threadCount" value="15" />
- </map>
- </property>
- </bean>
- </beans>
|