<!--scheduled Task Manager--><beanclass= "Org.springframework.scheduling.quartz.SchedulerFactoryBean" ><property name= "triggers" ><list> <ref bean= "Clearlogtrigger"/></list></property></bean><!--cleanup Log task--><bean id= " Clearlogtrigger "class= "Org.springframework.scheduling.quartz.CronTriggerBean" ><property name= "Jobdetail" ><ref bean= " Methodinvokingjobdetail "/></property><property name=" Cronexpression "><value>0 0 1 1 *? </ value></property></bean><!--Perform task methods--><bean id= "Methodinvokingjobdetail" in proxy modeclass= "Org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean" ><property name= "TargetObject" ><ref bean= "Logservice"/></property><property name= "Targetmethod" ><value>clearLog< /value></property></bean></beans><!--seconds of day and month0 0 0 10 12? 2009 0 0 0 12? * 0 0 1 1 * 2-5 2,3,4,52/2 Overlay 2 2,4,6,8*each? Ignore-
Spring Configuration Scheduled Task Manager