PrepZone Logo
PrepZone
Back to Spring Boot

Spring Boot · Easy

What does @EnableScheduling do? Provide an example.

Spring BootAnnotations & ConfigSchedulingFresherSenior

Answer preview

Overview: @EnableScheduling activates Spring's task scheduling infrastructure. Without it, @Scheduled annotations on methods are ignored.…