Debugging an issue with launchd and python requests
I am trying to get a python script to regularly fill out a google form on Mac OS X. (side note RIP cron :(., I do NOT like launchd)
I have been able to get almost everything done I need to.
- The python script works when I run it separately.
- launchd works by running my script as long as I do not include the posting to google forms bits.
When I take out "import requests" and "requests.post(myURL,mySubmission)" the launchd/script combo work fine.
Is there some reason python requests are not working with launchd? Any help would be appreciated.
MacBook Pro 13", OS X 10.11