title: Magento indexer running via ssh but not cron job
body: <p>I can reindex magento indexes via ssh command line with this code: </p>
  
  <pre><code>php -f [path to store]/shell/indexer.php reindex 
  </code></pre>
  
  <p>or individual indexes with this code: </p>
  
  <pre><code>php -f [path to store]/shell/indexer.php -- reindex [index]
  </code></pre>
  
  <p>And that works fine. However whenever i try to reindex via cron i get this:</p>
  
  <pre><code>Usage:  php -f indexer.php -- [options]
  
  --status &lt;indexer&gt;            Show Indexer(s) Status
  --mode &lt;indexer&gt;              Show Indexer(s) Index Mode
  --mode-realtime &lt;indexer&gt;     Set index mode type "Update on Save"
  --mode-manual &lt;indexer&gt;       Set index mode type "Manual Update"
  --reindex &lt;indexer&gt;           Reindex Data
  info                          Show allowed indexers
  reindexall                    Reindex Data by all indexers
  help                          This help
  
  &lt;indexer&gt;     Comma separated indexer codes or value "all" for all indexers
  </code></pre>
  
  <p>Any ideas?
  Thanks</p>