[Spring] @Scheduled, @EnableScheduling
사용법 @EnableScheduling 설정 반드시 @Scheduled를 사용할려면 @EnableScheduling을 다음과 같이 설정해야 한다. @SpringBootApplication @EnableScheduling public class SpringplaygroundApplication { public static void main(String[] args) { SpringApplication.run(SpringplaygroundApplication.class, args); } } @Scheduled 사용 @Scheduled는 다음 아래와 같이 3가지 설정을 통해 구현할 수 있으며, 원하는 내용에 어노테이션을 설정하면 된다. cron cron은 흔히 우리가 linux에서 설정하는 cron 형식과 유..
JVM/Spring
2022. 10. 1. 18:20
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- PostgreSQL
- ubuntu
- Command Line
- setattr
- headers
- Java
- 백준
- Spring
- 카카오
- 면접
- env
- docker-compose
- BFS
- django
- Celery
- Collections
- DRF
- 파이썬
- 자바
- dockerignore
- thread
- Python
- 프로그래머스
- 알고리즘
- 그래프
- Linux
- docker
- Pattern
- postgres
- 2021 KAKAO BLIND RECRUITMENT
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함