Merge pull request #895 from LinkedList/SPR-10448
* pr/895: Fix missing @EnableScheduling in documentation
This commit is contained in:
@@ -72,6 +72,7 @@ import org.springframework.scheduling.config.ScheduledTaskRegistrar;
|
|||||||
*
|
*
|
||||||
* <pre class="code">
|
* <pre class="code">
|
||||||
* @Configuration
|
* @Configuration
|
||||||
|
* @EnableScheduling
|
||||||
* @ComponentScan(basePackages="com.myco.tasks")
|
* @ComponentScan(basePackages="com.myco.tasks")
|
||||||
* public class AppConfig {
|
* public class AppConfig {
|
||||||
* }</pre>
|
* }</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user