Scheduled Job
예약된 작업
예약된 작업은 선택한 시간이나 반복 간격에 따라 백엔드 작업을 시작합니다. 규칙에는 지연, 놓침 또는 시작 겹침 후에 발생하는 일이 명시되어야 합니다.
time zone + schedule + missed-run deadline + overlap policy -> one job attempttimeZone: Asia/Taipei실행 중 건너뛰기✓time zone + schedule + missed-run deadline + overlap policy -> one job attemptJOB다른 예시
쿠버네티스 CronJob은 `Asia/Taipei` 시간대에서 매일 02:30에 백업을 시작합니다. 정책은 이전 작업이 활성화된 동안 새 실행을 건너뜁니다. 또한 놓친 실행이 시작될 수 있는 늦은 시간을 제한합니다. 백업은 계획된 시작 시간을 반복 안전 키로 사용합니다.
주요 부분
- 01일정 및 시간대
- 02다음 계획된 시작
- 03놓친 실행 규칙
- 04겹침 정책
- 05실행 아이덴티티
- 06실행 기록 및 알림
사용할 때
정기 백업, 보고서, 정리 또는 시계와 관련된 기타 작업에 사용하세요. 시간대, 늦게 실행 규칙, 겹침 규칙 및 안전한 반복 동작을 정의하세요.
다음 경우에는 사용하지 마세요
스케줄이 정확한 초에 한 번만 실행된다고 가정하지 마세요. 작업이 시간 기반이 아닌 데이터 변경에 속할 경우 이벤트 트리거를 사용하세요.
코드에서 사용된 이름
time zone + schedule + missed-run deadline + overlap policy -> one job attempt 출시하기 전에
Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.
Outcome:Complete the task with 예약된 작업 (Scheduled Job)。 User context:쿠버네티스 CronJob은 `Asia/Taipei` 시간대에서 매일 02:30에 백업을 시작합니다. 정책은 이전 작업이 활성화된 동안 새 실행을 건너뜁니다. 또한 놓친 실행이 시작될 수 있는 늦은 시간을 제한합니다. 백업은 계획된 시작 시간을 반복 안전 키로 사용합니다. Technical concept or control:예약된 작업 (Scheduled Job)。 Why it fits:정기 백업, 보고서, 정리 또는 시계와 관련된 기타 작업에 사용하세요. 시간대, 늦게 실행 규칙, 겹침 규칙 및 안전한 반복 동작을 정의하세요. Do not use it when:스케줄이 정확한 초에 한 번만 실행된다고 가정하지 마세요. 작업이 시간 기반이 아닌 데이터 변경에 속할 경우 이벤트 트리거를 사용하세요. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.
이 요청을 확인하세요
Review how 예약된 작업 (Scheduled Job) is used now. Definition: 예약된 작업은 선택한 시간이나 반복 간격에 따라 백엔드 작업을 시작합니다. 규칙에는 지연, 놓침 또는 시작 겹침 후에 발생하는 일이 명시되어야 합니다. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.