applicationContext-schedule.xml 768 Bytes
Newer Older
manxiaoqiang committed
1 2 3 4 5 6 7 8 9 10 11
<?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:task="http://www.springframework.org/schema/task"
       xsi:schemaLocation="http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"

       default-lazy-init="true">

    <description>调度配置</description>

songweifeng committed
12
    <bean id="autoCalculateFlow" class="com.reyun.task.AutoCalculateFlow"></bean>
manxiaoqiang committed
13 14

    <task:scheduled-tasks>
15
        <task:scheduled ref="autoCalculateFlow" method="run" cron="0 0 7 * * ?"/>
songweifeng committed
16
    </task:scheduled-tasks>
manxiaoqiang committed
17
</beans>