title: neither cron nor launchd run python script successfully?
body: <p>I have written a python script named Music_Scrape.py that resides in the following directory /Users/MY_USER_NAME/code/Python_Projects. The script runs with the terminal command /Users/MY_USER_NAME/code/Python_Projects/Music_Scrape.py. I am attempting to have this run every day, but cannot seem to get either cron or launchd to work. I am using OSX El Capitan Version 10.11.6. </p>
  
  <p>Creating the following in CronniX did not work (I attempt to run every minute for debugging purposes). </p>
  
  <p><a href="https://i.stack.imgur.com/17vX7.png" rel="nofollow noreferrer">CronniX attempt</a></p>
  
  <p>I also attempted to use launchd with the following plist file. This is placed in the ~/Library/LaunchAgents directory. I attempted to launch that with the following commands:</p>
  
  <p>launchctl load ~/Library/LaunchAgents/pullMusic.plist</p>
  
  <p>launchctl start pullMusic</p>
  
  <p>Again nothing happened.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
  "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;Label&lt;/key&gt;
      &lt;!-- The label should be the same as the filename without the extension --&gt;
      &lt;string&gt;pullMusic&lt;/string&gt;
      &lt;!-- Specify how to run your program here --&gt;
      &lt;key&gt;Program&lt;/key&gt;
          &lt;string&gt;/Users/samuelcurtis/code/Python_Projects/Music_Scrape.py&lt;/string&gt;
      &lt;!-- Run every minute --&gt;
      &lt;key&gt;StartInterval&lt;/key&gt;
      &lt;integer&gt;60&lt;/integer&gt;&lt;!-- seconds --&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>I have read many posts relating to this issue and have tried using absolute file paths and changing permissions, neither of which seems to have helped. It seems that scheduling a command line command to execute at certain intervals should be a more simple task, but apparently not! What steps would one recommend to debug the issue?</p>