title: Centos Crontab Bad Command
body: <p>I have a pretty simple db back-up script that runs perfectly from shell. </p>
  
  <pre><code>php /home/db_backup/db_backup.php
  </code></pre>
  
  <p>When I attempt to add a Crontab, I get the vague 'Bad Command errors in crontab, can't install."</p>
  
  <p>I've tried w/ php and full path to php. </p>
  
  <pre><code>which php
  </code></pre>
  
  <p>returns /usr/bin/php</p>
  
  <pre><code>* 1 * * * php /home/db_backup/db_backup.php
  
  * 1 * * * /usr/bin/php /home/db_backup/db_backup.php
  </code></pre>
  
  <p>Both return the same error.</p>
  
  <p>Centos 6.6. logged in as root. Editing crontab thusly</p>
  
  <pre><code>crontab -e
  </code></pre>
  
  <p>Spent too many hours trying to get this working. What am I missing?</p>