可参照http://gong1208.iteye.com/blog/1773177 的详细配置
<!-- 系统定时任务工厂类 -->
<bean id="systemDescsionScheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref bean="report"/>
</list>
</property>
<property name="quartzProperties">
<props>
<prop key="org.quartz.threadPool.threadCount">1</prop>
</props>
</property>
</bean>
<!-- 债权定时任务-首 -->
<bean id="report" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<bean class="org.springframework.scheduling.quartz.JobDetailBean">
<!-- 指向自定义的任务类 -->
<property name="jobClass" value="com.路径.Report" />
<!-- 任务类中注入属性 -->
<property name="jobDataAsMap">
<map>
<entry key="baseLogic" value-ref="baseLogic"></entry>
<entry key="reportInterface" value-ref="reportLogic"/>
……………………
</map>
</property>
</bean>
</property>
<!-- 每天晚上23点执行任务更新 -->
<property name="cronExpression" value="0 0 23 * * ?"/>
</bean>