Run Python script scheduled on Windows Server
Jump to navigation
Jump to search
This example shows how to automate execution of Python scripts using the Scheduler from Windows Server. In this example I'm assuming that the python.exe is in your PATH.
You can try running your command in a command prompt first:
python C:\pathtoyourscript\myScript.py
Contents
Open Windows Tasks Scheduler
Create new task
Edit task name
Run task as system
Depending on your script it may need different access permissions
Create task trigger
Edit task schedule
Create task action
Edit task action
Insert "python" in program name and the full path to your script under arguments.