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
- mysql if
- formgroup
- Ionic modal
- angular modal
- Router
- ajax 사용 예시
- angular button
- flex-1
- summary
- 아이오닉 스크롤 이벤트
- modal
- prisma
- 스크롤 이벤트
- 앵귤러 모달
- 옵저버블
- egov spring ajax 사용 예시
- angular animation
- angular route
- scroll
- 스크롤 이벤트 감지
- TAILWIND
- 셀렉트박스 커스텀
- route
- ApexChart
- 검색
- 모달
- Oracle LISTAGG 사용 예시
- Angular Router
- 앵귤러 애니메이션
- 호버
Archives
- Today
- Total
목록@EnableScheduling 스케줄링 활용 예시 (1)
깜놀하는 해므찌로
@EnableScheduling 사용 예시
@SpringBootApplication @EnableScheduling public class Scheduler { @Scheduled(cron = "* * * * * *") public void run() { /* 내용 */ } } 1. @SpringBootApplication : 스프링 부트 어노테이션 선언을 통해 내부 기능을 사용하겠다고 선언 2. @EnableScheduling : 스케줄링 기능으로 활용하겠다고 선언 3. @Scheduled : 스케줄 작동 시 호출 될 함수 위에 선언 4. cron : 어떤 주기로 사용할 것인지 정의 (초 / 분 / 시간 / 일 / 월 / 년)
IT
2022. 9. 28. 07:58