title: "sh: sysctl Command not Found " for Mac OS X running a cron job
body: <p>I have a python script, <code>script.py</code>, and am using cron to run this script periodically. The script runs as expected, but once the cron job finishes, I get the following error in /var/mail/[myusername]:</p>
  
  <p><code>sh: sysctl   Command Not Found</code></p>
  
  <p>The following is the cron job:</p>
  
  <pre><code>0 14  * * * PATH=$PATH:/usr/sbin PYTHONPATH=/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ /usr/bin/python2.7 ~/.../script.py
  </code></pre>
  
  <p>I was told to include both PATH and PYTHONPATH in the task (as before, python wouldn't recognize several modules I had imported and had installed), so at this point, I'm not sure what the problem could be</p>