I am currently using Amazon's Elastic Beanstalk as my web server. I need to be able to run some cron jobs every minute (so launching machines and shutting them down is not an option).
The solutions I have found for now are:
Both of those solutions seems like an overkill. Is there any better solution out there? the perfect solution would be a "Platform as a service" (PaaS) one.
well, few years after. here are some new options to deal with this issue:
container_commands:
name of container_command:
command: "command to run"
leader_only: true
name of container_command:
command: "command to run"
reference: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html#linux-container-commandshope this will help anyone that bumps into this issue