Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- spring dynamic scheduler
- vite.config.js
- aws db 생성
- vue3이미지캐싱
- tiptap custom command
- store router
- tiptap
- fastapi router
- vue composable
- pinia
- tiptap slash command
- msw
- aws mariadb
- mockserviceworker.js
- tiptap vue3
- branch 이름 변경
- vue mixin
- spring 동적 스케줄러
- springboot dynamic scheduler
- python path
- mock service worker
- fastapi 라우터
- vue3
- 프로필이미지캐싱
- vue2.7
- 파이썬 경로추가
- threadpooltaskscheduler
- vite
- tiptap 에디터
- vite이미지캐싱
Archives
- Today
- Total
목록spring dynamic scheduler (1)
gomstory
Spring Dynamic Scheduler REST API로 스케줄러 구현하기
@Scheduled그동안은 어노테이션 사용해서 cron표현식으로 작성하는 스케줄러만 만들어봤다.Task별로 시간이 다른 스케줄러를 구현할 일이 생겼는데, 그렇다고 1초에 한번씩 돌면서 체크할 일은 아닌거같고..이참에 REST API로 스케줄러를 동적으로 생성하는 기능에 대해 찾아보게되었다. 1. ThreadPoolTaskScheduler를 설정하는 @Configuration 클래스를 생성해준다.import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.scheduling.TaskScheduler;import org.s..
Spring
2024. 8. 27. 12:45