You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.7 KiB
43 lines
1.7 KiB
10 months ago
|
<?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:context="http://www.springframework.org/schema/context"
|
||
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||
|
xmlns:aop="http://www.springframework.org/schema/aop"
|
||
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
||
|
xmlns:p="http://www.springframework.org/schema/p"
|
||
|
xmlns:task="http://www.springframework.org/schema/task"
|
||
|
xsi:schemaLocation="
|
||
|
http://www.springframework.org/schema/beans
|
||
|
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
||
|
http://www.springframework.org/schema/context
|
||
|
http://www.springframework.org/schema/context/spring-context-4.0.xsd
|
||
|
http://www.springframework.org/schema/mvc
|
||
|
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
|
||
|
http://www.springframework.org/schema/aop
|
||
|
http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
|
||
|
http://www.springframework.org/schema/tx
|
||
|
http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
|
||
|
http://www.springframework.org/schema/task
|
||
|
http://www.springframework.org/schema/task/spring-task-4.0.xsd">
|
||
|
|
||
|
<task:annotation-driven />
|
||
|
<context:component-scan base-package="com.fy.web.task"/>
|
||
|
|
||
|
<!--<context:component-scan base-package="com.fy.web.task"/>
|
||
|
|
||
|
<task:annotation-driven scheduler="qbScheduler" mode="proxy"/>
|
||
|
|
||
|
<task:scheduler id="qbScheduler" pool-size="10"/>
|
||
|
|
||
|
<task:scheduled-tasks scheduler="qbScheduler">
|
||
|
|
||
|
|
||
|
日志存储清理Task
|
||
|
0 0/30 * * * ?每半小时执行
|
||
|
|
||
|
<task:scheduled ref="schedulerTask" method="logTaskJob" cron="0 0/30 * * * ?"/>
|
||
|
</task:scheduled-tasks>-->
|
||
|
|
||
|
</beans>
|