0
@Lazy
@Component
public class ScheduleTest {
@Scheduled(fixedRate = 1000)
public void doSomething(){
System.out.println("do something"+ new Date());
}
}
지연 (값 = false)을 설정하면 작동합니다.@ @ 지연과 함께 spring @schedule이 작동하지 않는 이유는 무엇입니까?