Share via

Running python code in task scheduler

Anonymous
2022-10-11T03:59:07+00:00

I watched a couple videos and looked at a couple websites on how to do this, but when I entered everything they said to and ran it, nothing happened. The program/script came from the command prompt (wheres python) command, the arguments was my code/file name, and the start in came from the code files path. I know I did everything from the videos but I still can't figure it out.

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. Anonymous
    2022-10-11T06:10:16+00:00

    Hi, I'm Robinson, and I’m happy to help you today.

    Which is the "last run result" of the task? This information may have information on what is blocking the task to run.

    Another option is to create a batch file to call your python script and set this batch file in the task scheduler. You can see more information at this link.

    https://datatofish.com/python-script-windows-sc...

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products).

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2022-10-11T18:07:35+00:00

    Thank you so much! I don't know why they made it so complex in the videos and tutorials lol.

    0 comments No comments