Stef
Stef

Reputation: 665

Why [Errno 13] Permission denied?

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?

enter image description here

Upvotes: 1

Views: 5766

Answers (3)

LearningEveryday
LearningEveryday

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.

Check the image below. enter image description here

Upvotes: 3

Juan Diego Garcia
Juan Diego Garcia

Reputation: 823

Try to give read and write permissions to your xls file. https://msdn.microsoft.com/en-us/library/bb727008.aspx

Upvotes: 0

Ember
Ember

Reputation: 15

Right click --> Run as administrator

Should solve your issue.

Upvotes: -1

Related Questions