Scheduling A Job on AWS EC2

前端 未结 7 715
眼角桃花
眼角桃花 2020-12-24 14:52

I have a website running on AWS EC2. I need to create a nightly job that generates a sitemap file and uploads the files to the various browsers. I\'m looking for a utility o

7条回答
  •  遥遥无期
    2020-12-24 15:31

    You should consider CloudWatch Event and Lambda (http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/RunLambdaSchedule.html). You only pay for the actual runs. I assume the workers maintained by Elastic beanstalk still cost some money even when they are idle.

    Update: found this nice article (http://brianstempin.com/2016/02/29/replacing-the-cron-in-aws/)

提交回复
热议问题