[Spring] @Scheduled 이란?
개발/Spring Framework
2022. 12. 6. 14:06
@Scheduled 애노테이션? Spring Scheduler는 @Scheduled 애노테이션을 명시해 사용할 수 있습니다. 보통 실행하고자 하는 메소드명 위에 명시해놓고 사용 @ 풀 크기 늘리기 # springBoot application.properties 기본 풀 크기는 1이며 과학 springboot2.1.0에서 값을 변경하여 풀 크기를 설정할 수 있다 spring.task.scheduling.pool.size. spring.task.scheduling.pool.size=20 # springFramework servlet-context.xml Tasks.class를 인식하기 위한 component-scan 코드 추가 ---------------------------------------------..

[springBoot] 내장 톰캣 Server port 변경
개발/Spring Boot
2022. 12. 1. 10:50
# application.yml server.port : 7080