[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
- Python
- Command Line
- postgres
- env
- 파이썬
- docker-compose
- PostgreSQL
- BFS
- DRF
- ubuntu
- Spring
- Collections
- 프로그래머스
- 면접
- 알고리즘
- headers
- 백준
- 2021 KAKAO BLIND RECRUITMENT
- 그래프
- django
- thread
- Celery
- 자바
- setattr
- Pattern
- Java
- docker
- dockerignore
- 카카오
- Linux
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함