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
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?
Right click --> Run as administrator
Should solve your issue.
Try to give read and write permissions to your xls file. https://msdn.microsoft.com/en-us/library/bb727008.aspx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.