Reputation: 665
So, I made this .py script that basically downloads excel tables from the USDA. When I run it manually from the prompt command it works, but when I use Task Scheduler to run it, it gives me the: Errno 13 Permission denied. click the link below
. My question is, how can it run from the prompt command when I do it manually but not work when I use task scheduler?
Upvotes: 1
Views: 5766
Reputation: 217
I was having the same problem and this is how I solved it: -Right click on the task -A new window will open up, then at the very bottom of the window check "Run with highest privilege" and this should solve the problem.
Upvotes: 3
Reputation: 823
Try to give read and write permissions to your xls file. https://msdn.microsoft.com/en-us/library/bb727008.aspx
Upvotes: 0