提交 99e6e7bf 编写于 作者: C Calvin

fix wrong cron expression

上级 8c0cf8d0
......@@ -14,12 +14,12 @@
<!-- timer -->
<task:scheduled ref="userCountScanner" method="executeBySpringTimerByXml" fixed-rate="180000"/>
<!-- cron -->
<task:scheduled ref="userCountScanner" method="executeBySpringCronByXml" cron="* 15 9-17 * * MON-FRI"/>
<task:scheduled ref="userCountScanner" method="executeBySpringCronByXml" cron="0 15 9-17 * * MON-FRI"/>
</task:scheduled-tasks>
<!-- coding 方式的加強版 -->
<bean id="springCronJob" class="org.springside.examples.showcase.demos.schedule.SpringCronJob" lazy-init="false">
<property name="cronExpression" value="* 15 9-17 * * MON-FRI"/>
<property name="cronExpression" value="0 15 9-17 * * MON-FRI"/>
<property name="shutdownTimeout" value="20" />
</bean>
</beans>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册