Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation example miss @EnableScheduling [SPR-10448] #15081

spring-issuemaster opened this issue Apr 7, 2013 · 1 comment


None yet
2 participants
Copy link

commented Apr 7, 2013

Janning Vygen opened SPR-10448 and commented

Doc say

"Alternatively, if MyTask were annotated with @Component, the following configuration would ensure that its @Scheduled method is invoked at the desired interval:

public class AppConfig {

The code example is wrong as it does not use @EnableScheduling. It must be like this:

public class AppConfig {

Affects: 3.2.2

Reference URL:

Referenced from: commits 7ba67cc, 37735b3


This comment has been minimized.

Copy link
Collaborator Author

commented Oct 22, 2015

Stéphane Nicoll commented

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.