@Scheduled 란? Spring에서는 @Scheduled 어노테이션을 이용해 특정 시각에 혹은 일정 시간 간격마다 함수를 호출할 수 있다. 사용법 @EnableScheduling @SpringBootApplication public class TestApplication { public static void main(String[] args) { SpringApplication.run(TestApplication.class, args); } } 먼저 @EnableScheduling 어노테이션을 Application 클래스에 추가한다. @Service public class TestService { //매일 아침 8시 실행 @Scheduled(cron = "0 0 8 * * *") public voi..