title: AWS Elastic Beanstalk, running a cronjob
body: <p>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.</p>
  
  <p>This is what I have tried to do in the config files without success:</p>
  
  <pre><code>container_commands:
    01cronjobs:
      command: echo "*/1 * * * * root php /etc/httpd/myscript.php"
  </code></pre>
  
  <p>I'm not really sure if this is the correct way to do it</p>
  
  <p>Any ideas?</p>