Main Frame pack: Quartz-all-2.1.6.jar.
Spring Configuration:
<?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:jaxws=" Http://cxf.apache.org/jaxws "xsi:schemalocation=" http://www.springframework.org /schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd Http://cxf.apache.org/jaxws http:/ /cxf.apache.org/schemas/jaxws.xsd ">
<bean id= "Complexjobdetail" class= "Org.springframework.scheduling.quartz.JobDetailFactoryBean" >
<property name= "Jobclass" value= "Com.chebaobao.carinfo.action.CarInfoQuart"/>
<property name= "Jobdatamap" >
<map>
<!--service configuration--
<entry key= "Carinfoservice" value-ref= "Carinfoservice" ></entry> </map> </property>
<property name= "Durability" value= "true"/>
</bean>
<bean id= "Crontrigger" class= "Org.springframework.scheduling.quartz.CronTriggerFactoryBean" >
<property name= "Jobdetail" ref= "Complexjobdetail"/>
<!--523 points a week-
<property name= "cronexpression" value= "0 0 23? * FRI "/>
</bean>
<bean class= "Org.springframework.scheduling.quartz.SchedulerFactoryBean" >
<property name= "Jobdetails" >
<list>
<ref bean= "Complexjobdetail"/>
</list>
</property>
<property name= "Triggers" >
<list>
<ref bean= "Crontrigger"/>
</list>
</property>
</bean>
</beans>
Timer settings for Spring4