title: No Output for Python Script Executed via Cron Job
body: <p>Relatively new to running cron jobs in Centos6, I can't seem to get this Python script to execute properly. I would like this script to execute and then email me the output. I have been receiving emails, but they're empty. </p>
  
  <p>So far, in Crontab I've tried entering: </p>
  
  <pre><code>*/10 * * * * cd /home/local/MYCOMPANY/purrone/MyPythonScripts_Dev1 &amp;&amp; /usr/bin/python ParserScript_CampusInsiders.py  &gt; /var/log/cron`date +\%Y-\%m-\%d-\%H:\%M:\%S`-cron.log 2&gt;&amp;1 ; mailx -s "Feedparser Output" my@email.com
  </code></pre>
  
  <p>and</p>
  
  <pre><code>*/10 * * * * /home/local/MYCOMPANY/purrone/MyPythonScripts_Dev1/ParserScript_CampusInsiders.py &gt; /var/log/cron`date +\%Y-\%m-\%d-\%H:\%M:\%S`-cron.log 2&gt;&amp;1 ; mailx -s "Feedparser Output" my@email.com
  </code></pre>
  
  <p>I have run <code>chmod +x</code> on the python script to make the script executable and the Python script has <code>#!/usr/bin/env python</code> at the header. What am I doing wrong here? </p>
  
  <p>The other problem might be that I shouldn't be using the log file? All I see at /var/log/cron when I open with cat cron is entires like this, for example (no actual output from the script): </p>
  
  <pre><code>Jul 23 13:20:01 ent-mocdvsmg01 CROND[24681]: (root) CMD (/usr/lib64/sa/sa1 1 1)
  Jul 23 13:20:01 ent-mocdvsmg01 CROND[24684]: (MYJOB\purrone) CMD (/home/local/MYCOMPANY/purrone/MyPythonScripts_Dev1/ParserScript_CampusInsiders.py &gt; /var/log/cron`date +\%Y-\%m-\%d-\%H:\%M:\%S`-cron.log 2&gt;&amp;1 ; mailx -s "Feedparser Output" my@email.com)
  </code></pre>