AWS cron 스케쥴링 설정
AWS cron 스케쥴링을 설정 하려고 하는데,
패턴을 매번 잊어버려서 아래에 적어둔다.
매월 첫째 주 화요일 오전 11시
- cron(min hours day-of-month month day-of-week year) (분 시간 일 월 주 연)
- day-of-week → 1: 일요일, 7:토요일
- cron (0 11 ? * 3#1 *)
- 0 0 1 * ? *
참고 자료
https://docs.aws.amazon.com/ko_kr/lambda/latest/dg/services-cloudwatchevents-expressions.html https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html
Creating an Amazon EventBridge rule that runs on a schedule - Amazon EventBridge
EventBridge offers Amazon EventBridge Scheduler, a serverless scheduler that allows you to create, run, and manage tasks from one central, managed service. EventBridge Scheduler is highly customizable, and offers improved scalability over EventBridge sched
docs.aws.amazon.com
Rate 또는 Cron을 사용한 예약 표현식 - AWS Lambda
Rate 또는 Cron을 사용한 예약 표현식 AWS Lambda는 분당 최대 한 번의 빈도로 표준 rate 표현식과 cron 표현식을 지원합니다. rate 표현식은 정의하기가 더 간단하지만 cron 트리거가 지원하는 세분화된
docs.aws.amazon.com