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
- ajax 사용 예시
- modal
- ApexChart
- route
- formgroup
- flex-1
- 앵귤러 모달
- prisma
- 검색
- 호버
- 옵저버블
- 스크롤 이벤트
- Oracle LISTAGG 사용 예시
- angular modal
- 셀렉트박스 커스텀
- 스크롤 이벤트 감지
- 모달
- angular animation
- egov spring ajax 사용 예시
- 앵귤러 애니메이션
- Ionic modal
- angular route
- 아이오닉 스크롤 이벤트
- summary
- scroll
- TAILWIND
- angular button
- mysql if
- Angular Router
- Router
Archives
- Today
- Total
목록@Scheduled (3)
깜놀하는 해므찌로
Egov Spring Java 스케줄러 활용 예시 / @Scheduled
@Scheduled(cron = "00 00 01 * * ?") @RequestMapping(value="/admin/excel/SchedulerExcelDownload.do", method=RequestMethod.POST) public void schedulerExcel() throws Exception{ }
IT
2023. 3. 9. 20:17
@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