Windows 10: How/in what order does Windows 10 Task Scheduler shutdown a process

Discus and support How/in what order does Windows 10 Task Scheduler shutdown a process in Windows 10 Gaming to solve the problem; I am running windows 10 and have a Task Scheduler Task that runs a python script. It begins on computer startup, runs for a set amount of time in this... Discussion in 'Windows 10 Gaming' started by FenPeng, Aug 11, 2023.

  1. FenPeng Win User

    How/in what order does Windows 10 Task Scheduler shutdown a process


    I am running windows 10 and have a Task Scheduler Task that runs a python script. It begins on computer startup, runs for a set amount of time in this case 30 minutes then the task tells the program to end. Typically I would not tell the task to end the python script but I am testing the python script to see what happens if it were to hang/have a run time error after 30 minutes.Now, this python script has a call inside of it to run another .exe that is sensitive to loosing internet connection/power. My question is, how exactly does the windows task scheduler tell the python script to end? Do

    :)
     
    FenPeng, Aug 11, 2023
    #1

  2. Schedule a shutdown task in Windows 10

    Hi Bill,

    To set up shutdown schedule using a Task Scheduler you may follow the below steps and check if it helps:

    1. Start
    Task Scheduler. You can start it by going to the Start Menu typing
    Schedule in the Search bar and choosing
    Schedule tasks.

    2. When Task Scheduler opens click the
    Create Basic Task.

    3. Enter the
    Name for your Task, for example
    Shutdown.

    4. Now choose
    When do you want the task to start
    . In our case we’ll choose One time.

    5. Now enter the
    Time and date when the task will be executed.

    6. Next choose
    Start a program.

    7. Click the
    Browse button and go to C:\Windows\System32 and select a file called
    Shutdown. Then click Open.

    8. Now just in
    Add arguments field add -s, and then click
    Next.


    9. Now you should see the task information. You can check it one last time, and if you’re pleased with your settings click
    Finish to schedule a shutdown.

    Please get back to us with an update on this issue, we will be happy to help.

    Thank you
     
    Karthicka_R, Aug 11, 2023
    #2
  3. Schedule a shutdown task in Windows 10

    URGENT!!

    hi, i got annoying issue, i created shutdown task when internet goes off, but whenever i start my pc it get shutdown on startup, im unable to do anything, how can i delete that task in safemode.

     
    Mandeep148, Aug 11, 2023
    #3
  4. How/in what order does Windows 10 Task Scheduler shutdown a process

    Window's Task Scheduler Not Running

    Hi,

    To assist you better, kindly provide us more details by answering the following questions:

    • Have you tried recreating the task? If so, are you getting the same issue?
    • Have you tried creating a new task?
    Meanwhile, we suggest that you ensure that the Task Scheduler is running. You can verify if the service is running by following these steps:

    • Press Windows key + R on your keyboard.
    • Type services.msc and hit Enter.
    • Under Services (Local), make sure that the Task Scheduler service's status is
      Started or Enabled.
    Should you need further assistance, feel free to get back to us.
     
    Monica Cam, Aug 11, 2023
    #4
Thema:

How/in what order does Windows 10 Task Scheduler shutdown a process

Loading...
  1. How/in what order does Windows 10 Task Scheduler shutdown a process - Similar Threads - order does Task

  2. How/in what order does Windows 10 Task Scheduler shutdown a process

    in Windows 10 Software and Apps
    How/in what order does Windows 10 Task Scheduler shutdown a process: I am running windows 10 and have a Task Scheduler Task that runs a python script. It begins on computer startup, runs for a set amount of time in this case 30 minutes then the task tells the program to end. Typically I would not tell the task to end the python script but I am...
  3. How/in what order does Windows 10 Task Scheduler shutdown a process

    in Windows 10 BSOD Crashes and Debugging
    How/in what order does Windows 10 Task Scheduler shutdown a process: I am running windows 10 and have a Task Scheduler Task that runs a python script. It begins on computer startup, runs for a set amount of time in this case 30 minutes then the task tells the program to end. Typically I would not tell the task to end the python script but I am...
  4. Task Scheduler on Windows 10: What Happened?

    in Windows 10 Gaming
    Task Scheduler on Windows 10: What Happened?: On Windows 10 up to two weeks ago, I have a simple 1 AM-scheduled task. The action was to run python with the argument "C:/Users/Administrator/OneDrive/ProgrammingLanguages/Python files/Obsidian helpers/dailyNoteMaker.py"Then suddenly it stopped working. I have tried various...
  5. Task Scheduler on Windows 10: What Happened?

    in Windows 10 Software and Apps
    Task Scheduler on Windows 10: What Happened?: On Windows 10 up to two weeks ago, I have a simple 1 AM-scheduled task. The action was to run python with the argument "C:/Users/Administrator/OneDrive/ProgrammingLanguages/Python files/Obsidian helpers/dailyNoteMaker.py"Then suddenly it stopped working. I have tried various...
  6. Task Scheduler on Windows 10: What Happened?

    in Windows 10 Customization
    Task Scheduler on Windows 10: What Happened?: On Windows 10 up to two weeks ago, I have a simple 1 AM-scheduled task. The action was to run python with the argument "C:/Users/Administrator/OneDrive/ProgrammingLanguages/Python files/Obsidian helpers/dailyNoteMaker.py"Then suddenly it stopped working. I have tried various...
  7. How to delay a Scheduled Task in Windows 10 Task Scheduler

    in Windows 10 News
    How to delay a Scheduled Task in Windows 10 Task Scheduler: [ATTACH]People who use their Windows 10 computer as a professional resort must know what an important role the Task Scheduler can play. Deploying your efforts in work may require you to perform certain tasks daily, and you can create and automate these tasks with the help of...
  8. Scheduled task for shutdown only working randomly

    in Windows 10 Performance & Maintenance
    Scheduled task for shutdown only working randomly: I've used a scheduled task to shut down shutdown.bat my computer at a specific time every night. I've never had a problem until recently. Now, every few nights the task just doesn't run and the next day my computer is still on. How can I solve this problem so it works every...
  9. Task Scheduler DOES WHAT... ?

    in AntiVirus, Firewalls and System Security
    Task Scheduler DOES WHAT... ?: Hello Community Members... I want to restore points on My laptop EVERY 24 hours Can I get Task Scheduler to do that ? and then to check it has ? Am sure asked the SAME THING for Windows Defender but DID - NOT work ? Why Not ? Some months ago Say at 17:00 hours...
  10. Windows 10 Shutdown Script through Scheduled task for specific time

    in Windows 10 Performance & Maintenance
    Windows 10 Shutdown Script through Scheduled task for specific time: Hey all, I have been working on trying to shutdown about 21 lab computers everyday at 11pm through scheduled task with a shutdown script which is as simple as: REM Shutdown computers at 11;%windir%\system32\shutdown.exe /s /f /t 0 /c "Computer shutting down" The...