Set GlueJob Schedule at 45 minutes interval

0

I'm using Glue to process data and want to schedule the job to run every 45 minutes using Glue Schedule with this cron expression: 0/45 * * * ? *.

The expected time of running may adhere to this pattern: 8:00 => 8:45 => 9:30 => 10:15 => ...

But the actual time running is out of expectance like this: 8:00 => 8:45 => 9:00 => 9:45 => ...

Can you provide some help here? Thanks in advance.

2개 답변
1
수락된 답변

Cron jobs does not support this pattern. Either create 3 different cron jobs (as indicated by @Riku_Kobayashi), or use EventBridge Scheduler with rate (45 minutes) and a Glue job as the target.

profile pictureAWS
전문가
Uri
답변함 8달 전
profile picture
전문가
검토됨 8달 전
profile pictureAWS
전문가
검토됨 8달 전
1

Hello.

"0/45 * * * ? *" will be a cron that runs at 0 and 45 minutes every hour.
If you want it to run every 45 minutes, I think you'll need to make it three jobs.
I think that what you want to do probably cannot be configured with just one cron, so I think you will need three crons as shown below.

*/45 */3 * * ? *
30 1-22/3 * * ? *
15 2-23/3 * * ? *
profile picture
전문가
답변함 8달 전
profile pictureAWS
전문가
검토됨 8달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠