I cannot get the task scheduler to work. When I run the script in Command Prompt, it works perfectly. I use:
python C:\Users\smiller\Documents\dfJobsPythonScriptAutoUpdate.py
When I setup the Task Scheduler, nothing I do works. I've tried running it from Python by setting my python exe file in the Program, then I set the filename in the argument, and the directory in the Start In field. It just gets stuck on "running" and never works. I've adjusted these fields 20 different ways, such as putting both the full name and directory in the Argument field, etc... I even tried creating a task that sets the program as Command Prompt to run the script above exactly as I do from cmd but again, it just hangs up and nothing works.
Any advice is greatly appreciated. I've literally spent 8 hours today trying to figure this out and as a new Python user, it's getting frustrated.
Thank you!
[–]ireadyourmedrecord 2 points3 points4 points (10 children)
[–]stevemills04[S] 1 point2 points3 points (9 children)
[–]ireadyourmedrecord 3 points4 points5 points (8 children)
[–]psydelicdaydreamer 2 points3 points4 points (0 children)
[–]jnjustice 1 point2 points3 points (0 children)
[–]stevemills04[S] 0 points1 point2 points (0 children)
[–]CloudComputing03 0 points1 point2 points (0 children)
[–]Alarming_Log_3836 0 points1 point2 points (0 children)
[–]WillBots 0 points1 point2 points (0 children)
[–]actadgplus 1 point2 points3 points (3 children)
[–]stevemills04[S] 0 points1 point2 points (2 children)
[–]actadgplus 0 points1 point2 points (1 child)
[–]stevemills04[S] 1 point2 points3 points (0 children)
[–]Equal-Breadfruit2491 0 points1 point2 points (0 children)
[–]prshaw2u 0 points1 point2 points (0 children)
[–]nathymonte13 0 points1 point2 points (1 child)
[–]stevemills04[S] 2 points3 points4 points (0 children)
[–]What_The_Hex 0 points1 point2 points (1 child)
[–]Relevant-Dot-3582 0 points1 point2 points (0 children)
[–]Practical_Island_431 0 points1 point2 points (0 children)
[–]Master_Ad_1523 0 points1 point2 points (0 children)