Geckodriver PermissionError: [Errno 13] Permission denied: 'geckodriver.log' only with task scheduler
I fixed this issue by checking the Run with highest privileges and configure for Windows 10
I am trying to set up my python web scraper to run at a set time using task scheduler but I am getting this error PermissionError: [Errno 13] Permission denied: 'geckodriver.log' I have no idea why because it works fun when running the python script by using the batch file or just by double-clicking the .py file. Anyone have any ideas about why it only happens with task scheduler.
FYI: I am using a batch file that calls the python.exe and the .py script and this what task scheduler is using to trigger the script. I am using selenium and firefox.
Many thanks.