AWS Elastic Beanstalk, running a cronjob
I would like to know if there is a way to setup a cronjob/task to execute every minute. Currently any of my instances should be able to run this task. This is what I have tried to do in the config files without success: container_commands: 01cronjobs: command: echo "*/1 * * * * root php /etc/httpd/myscript.php" I'm not really sure if this is the correct way to do it Any ideas? Anarchtica This is how I added a cron job to Elastic Beanstalk: Create a folder at the root of your application called .ebextensions if it doesn't exist already. Then create a config file inside the .ebextensions folder.