I’ve a script that processes my display screen time information utilizing the SQLite database /Customers/USERNAME/Library/Software Help/Data/knowledgeC.db
. The script runs wonderful after I launch it manually through Terminal, however I need to run it on a schedule through launchd
. When it runs in launchd
I get this error:
Traceback (most up-to-date name final):
File "script.py", line 31, in <module>
conn = sqlite3.join(db)
sqlite3.DatabaseError: authorization denied
How do I resolve this error?