diff --git a/src/main/java/com/smart/watchboard/WatchboardApplication.java b/src/main/java/com/smart/watchboard/WatchboardApplication.java index 8eae708..9f027da 100644 --- a/src/main/java/com/smart/watchboard/WatchboardApplication.java +++ b/src/main/java/com/smart/watchboard/WatchboardApplication.java @@ -2,7 +2,10 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.scheduling.annotation.EnableScheduling; + @SpringBootApplication +@EnableScheduling public class WatchboardApplication { public static void main(String[] args) {