Cron Job in AWS

0

Hi Team,

We are planning to run a cron job in AWS. The jobs runs for 1 hr every day.

  1. If we use EC2 rest of 23 hours we simply spend money on it
  2. As cron job runs for 1 hr, lambda function will not work. As lambda function will get timed out after 15 minute

So could you please let me any better solution for it.

Regards, Rajesh Khanna B

질문됨 일 년 전6453회 조회
2개 답변
0

Hi, I would look into:

Hope it helps ;)

profile picture
전문가
답변함 일 년 전
  • The EventBridge Scheduler requires a lambda function. But our cronjob will run for 1 hr. So lambda function might not help

0

The answer above seems very attractive to solve your isssue. I'd like to contribute with something else. If you cron job runs and depends on linux platform for a number of reason(s): Setup a Lambda to start your EC2 instance, starts your cron as fixed schedule and after an hour, a Lambda stops your EC2 instance.

Paul
답변함 일 년 전

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

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

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

관련 콘텐츠