title: Why is my cron job not running?
body: <p>I am trying to run a cron job at 5:20pm as below but it's not working.</p>
  
  <pre><code>20 17 * * 1 /usr/bin/php /home/myacc/public_html/job/generate.php
  </code></pre>
  
  <p>I basically did <code>crontab -e</code> and entered the above line there and saved the file.</p>
  
  <p>If I try running the command directly from the command line as below, it works fine:</p>
  
  <pre><code>php /home/myacc/public_html/job/generate.php
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Also, how do I send a message from the cron to either a log file or email so that I know what's going on?</p>