I'd like to schedule a python script to run weekly under Windows 7.
If I chooses "run only when user is logged on" and manually starts the task, the command window for the script would show up and it would work as expected.
If I chooses "run whether user is logged on or not" (and inputs the neccessary user information) and manully starts the task, nothing happens and it looks like the script didn't do anything. Also, the running result would be 0x1.
Any suggestion would be appreciated.
ps. "c:\python27\python.exe" is used as the command line and path_to_script.py as arguments. Also, I've specified "c:\python27" in the "start in".
Update 05/02/2017: The cause to the problem is said in Map a network drive to be used by a service, which means I shall not access network mapped drive directly in this mode.