79104451

Date: 2024-10-19 08:05:47
Score: 0.5
Natty:
Report link

You may simply use the "Task Scheduler".

In the "General" tab choose to run the task whether user is logged on or not.

In the "Triggers" tab add a new trigger that begin the task "At startup".

In the "Actions" tab add a new action that "Start a program, and in the "Program/script" field add the complete path to the Python.exe file and the arguments filed write "-m manage.py runserver" and in the "Start in" field write the path "path\of\managepyfile".

In the "Settings" tab uncheck "Stop the task if it runs longer than" option.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ramy Nabil