I have a python file 'Test.py' which runs a selenium python script of logging in and logging out my account. I've to login at 9 am and logout and 1 pm. So, I want to run a task scheduler for this.
File folder : C:\Users\knsai\Test.py and python exe location : C:\Users\knsai\AppData\Local\Microsoft\WindowsApps\python.exe
If I run the task "Run only when user is logged on" everything works fine, the selenium script is executed by opening chrome driver.
If I run the task "Run whether user is logged on or not" using the same user as above, there is no response(It doesn't give even any error). I've also enabled 'Run with highest privileges' and made sure the Author and Security Options have the same account.
FYI: I've created empty desktop folder as mentioned in this Task Scheduler (run whether user is logged on or not) but it doesn't work.
