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 |
Tags
- aws db 생성
- vue composable
- springboot dynamic scheduler
- vite.config.js
- Maria DB
- msw
- mock service worker
- vue2.7
- mockserviceworker.js
- tiptap
- store router
- python path
- 파이썬 경로추가
- fastapi router
- branch 이름 변경
- tiptap vue3
- pinia
- vite
- spring 동적 스케줄러
- FastAPI
- threadpooltaskscheduler
- tiptap slash command
- vue3
- tiptap 에디터
- vue mixin
- @Scheduled
- spring dynamic scheduler
- fastapi 라우터
- tiptap custom command
- aws mariadb
Archives
- Today
- Total
목록@Scheduled (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