I am facing a strange problem. I have scheduled a task to lauch a batch file. When I run the task with option Run only when user is logged on everything works fine.
For me it was the "Start In" -
I accidentally left in the '.py' at the end of the name of my program.
And I forgot to capitalize the name of the folder it was in ('Apps').