title: How do I run a cake file command from a cron file?
body: <p>This is a bit of a mystery to me since you have to "be in" the folder of the Cakefile to run the cake command. I don't really know where cake its path from, but I've tried running this</p>
  
  <pre><code>cd /
  PWD=/path/to/cake/file cake server
  </code></pre>
  
  <p>Still getting this error:</p>
  
  <blockquote>
    <p>Error: Cakefile not found in /</p>
  </blockquote>
  
  <p>Would something like</p>
  
  <pre><code>cd /path/to/cake/file &amp;&amp; cake server
  </code></pre>
  
  <p>Work in a cron file? Also could that pose a problem for the remaining cron jobs?</p>