title: cron cannot run composer
body: <p>I setup composer by following this guide: <a href="http://codybonney.com/installing-composer-globally-on-centos-6-4/" rel="nofollow">http://codybonney.com/installing-composer-globally-on-centos-6-4/</a></p>
  
  <p>it is ok. I could run composer globally.</p>
  
  <p>The problem is that I want to run composer update with cron job.</p>
  
  <p>05 15 * * * cd ~/myproject &amp;&amp; composer update --no-dev >  ~/composer.tx</p>
  
  <p>error: /bin/sh: composer: command not found</p>
  
  <p>Please help me</p>
  
  <p>Thanks</p>