title: How to get my cron job to output its exit code to a file
body: <p>The cron job I am trying to implement is:  </p>
  
  <pre><code>0 1 * * * /Users/kfchicken2go/Cron_Job
  </code></pre>
  
  <p>Cron_Job is:<br>
      <code>SHELL=/bin/zsh</code><br>
      <code>PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin</code><br>
      <code>brew update &amp;&amp; brew upgrade; echo $? &gt; Cron_OutPut</code></p>
  
  <p>Cron_OutPut being the file I want the exit code captured in</p>
  
  <p>Thanks</p>