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

質問済み 1年前6404ビュー
2回答
0

Hi, I would look into:

Hope it helps ;)

profile picture
エキスパート
回答済み 1年前
  • 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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ