我在stackoverflow上提到了一些例子。但它给了我异常:
Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
java.lang.IllegalArgumentException at
java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:562)
我遵循的示例: - How to parameterize @Scheduled(fixedDelay) with Spring 3.0 expression language?