Fix missing @EnableScheduling in documentation
Issue: SPR-10448
This commit is contained in:
parent
64790903e9
commit
37735b35fc
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue