task任务调度

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/aizaiee/article/details/81415955

<?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/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.3.xsd">

<task:scheduled-tasks>                                                                
   <task:scheduled ref="ExeacuteAchievementJob" method="exeacuteAchievement" cron="0 0 23 * * ?"/>
</task:scheduled-tasks>
<bean id="ExeacuteAchievementJob" class="com.mml.crm2.job.controller.ExeacuteAchievementJob"></bean>
</beans>
 

猜你喜欢

转载自blog.csdn.net/aizaiee/article/details/81415955