spring定时任务

1:依赖的jar包


   
  org.springframework
  spring-context
  ${spring.version}
   

   
  org.springframework
  spring-context-support
  ${spring.version}
   

 
 org.quartz-scheduler
  quartz
  1.8.5
 

 
  org.springframework
  spring-webmvc
  ${spring.version}
 


2:配置文件信息





  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">




   
       
       
             
       

       
       
             Starts
       

   

     
     
           
                 
           

           
           
                 0 0/1 * * * ?
           

     

     
     
 
   
          //定时任务列表
   

 





你可能感兴趣的:(技术,spring)