diff --git a/docs/RELEASE-NOTES.md b/docs/RELEASE-NOTES.md index 1777475..1046ef0 100644 --- a/docs/RELEASE-NOTES.md +++ b/docs/RELEASE-NOTES.md @@ -49,6 +49,7 @@ - 타임라인 상세 화면 이동 오류 수정 및 실행 중 작업 상세 버튼 추가 (#34) - RECOLLECT 모드에서 Tasklet 자체 스킵으로 last_success_date 복원 로직 제거 (#50) - Quartz PostgreSQLDelegate BYTEA 컬럼 읽기 오류 수정 (#12) +- CronPreview step=0 무한루프 방지 ### 변경 - 실패 레코드 Upsert 패턴 적용 (동일 키 중복 방지) diff --git a/frontend/src/utils/cronPreview.ts b/frontend/src/utils/cronPreview.ts index 3fa99ae..7ed0e84 100644 --- a/frontend/src/utils/cronPreview.ts +++ b/frontend/src/utils/cronPreview.ts @@ -89,6 +89,7 @@ function parseField(field: string, min: number, max: number): number[] | null { if (stepMatch) { const [, base, stepStr] = stepMatch; const step = parseInt(stepStr, 10); + if (step <= 0) return range(min, max); let start = min; let end = max;