I tried everything that was mentioned, a special thanks to Padraic, but nothing works. Itβs strange, because the script works fine when launched from the terminal, but when launched from startup, an error is triggered. I was able to get rid of errors when starting from start, but then the script did not start from the terminal. Very strange. But here, as I did, it started both in the terminal and on a schedule from launch. First, I changed the shebang line:
:
Then I had to indicate in the rest of the script the full path to the files, for example, from this:
log = open('log_directory/my_log.log', 'a')
:
log = open('/Users/jeff/documents/my_script_documents/python/development/log_directory/my_log.log', 'a')
In any case, it all works now, but I believe that the problem I am facing may have something to do with upgrading my Mac to Yosemite. Some references to a possible error in Yosemite regarding launchd / launchd.conf / launchctl. Well, I would like to believe that these were not my last 4 days, trying to get this to work ... but who knows?
source share