<嘉>spring定时器的XML设置,quartz;
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean id="buySuccessJob"
ref="gardenBuyRecordService" />
</bean>
<bean id="buySuccessJobDetail"
/>
</property>
<property name="targetMethod">
<value>execute</value>
</property>
</bean>
<bean id="buySuccessTrigger" />
</property>
<property name="cronExpression">
<value>00 00 17 * * ?</value>
</property>
</bean>
<bean />
</list>
</property>
</bean>
</beans>