Reputation: 1416
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 over kill. is there any better solution out there? the perfect solution would be a "Platform as a service" (PaaS) one.
Thanks
Upvotes: 0
Views: 3448
Reputation: 1416
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
Upvotes: 0
Reputation: 4780
It looks like it's possible to do it directly inside Beanstalk:
AWS Elastic Beanstalk, running a cronjob
If the endpoint to be run is external facing (to the web) you could check out Azure Scheduler:
http://azure.microsoft.com/en-us/services/scheduler/
Upvotes: 1