Windows 10: Task Scheduler: Several Start a program actions

Discus and support Task Scheduler: Several Start a program actions in Windows 10 Support to solve the problem; Hi there, I use a scheduled task to start a backup with beyond compare, but I need ondrive to start first. So I have two Actions in one schedule:... Discussion in 'Windows 10 Support' started by Linos, Dec 14, 2020.

  1. Linos Win User

    Task Scheduler: Several Start a program actions


    Hi there,

    I use a scheduled task to start a backup with beyond compare, but I need ondrive to start first. So I have two Actions in one schedule:
    Start a program C:\... ondrive.exe
    Start a program C:\... BCompare.exe

    Does the second action for Beyond Compare waits till the first action is started and fully loaded and if not is it possible to add a command to actually wait for it?

    Thank you very much and greetings! Task Scheduler: Several Start a program actions :)

    :)
     
    Linos, Dec 14, 2020
    #1
  2. Swifty Win User

    Actions in Task Scheduler

    I have two Scheduled tasks whose actions start the same program, but with different parameters. If these two program instances happen to get scheduled at more or less the same time, then one will wait for the other to finish.

    But it seems to me that sometimes the one which should start second fails to start at all. There is nothing in my code which stops the programs overlapping, apart from their own semaphore mechanism.

    Is there anything in the Task Scheduler itself that would prevent the second task triggering?

    The tasks are triggered by the events "Workstation lock" and "Workstation unlock"; the scheduled task runs a program which turns the display off and on. So, the effect is that the screen always blanks when the desktop locks, and it comes back on when the desktop unlocks.
    Sometimes, the events happen so close to each other than the "display on" and "display off" programs might try to run almost simultaneously, hence my semaphore arrangement,
     
    Swifty, Dec 14, 2020
    #2
  3. Task Scheduler service will not start.

    Thank you for updating us. If Task Scheduler will not start, we suggest that you restart it. The service might be disabled that's why the task will not run. Follow the steps below to troubleshoot Task Scheduler.

    • Click Start menu.
    • Type Services in the Start Search box.
    • Right-Click Services, and select Run as Administrator.
    • If you are prompted for an administrator password or confirmation, type your password or click
      Continue.
    • Right-click the Task Scheduler Service and select Restart.
    And have you tried running the System File Checker scan as an Administrator. For more information check this
    article. You can also perform DISM after performing SFC.

    Let us know if you need further assistance.
     
    Reymichael Ros, Dec 14, 2020
    #3
  4. Task Scheduler: Several Start a program actions

    Task Scheduler History keeps getting disabled for my tasks

    Task Scheduler History keeps getting disabled for my tasks

    i also found the listed this issue listed.

    i try to update my command and could not.

    i found a recommendation to enable . here -->

    "Step 1: Open an elevated Task Scheduler (ie. right-click on the Task Scheduler icon and choose Run as administrator)

    Step 2: In the Actions pane (right
    pane, not the actions tab),
    click Enable All Tasks History"

    How can I enable the Windows Server Task Scheduler History recording?

    not sure if it is persistent.
     
    Handy Manny, Dec 14, 2020
    #4
Thema:

Task Scheduler: Several Start a program actions

Loading...
  1. Task Scheduler: Several Start a program actions - Similar Threads - Task Scheduler Several

  2. How to have Task Scheduler start a program after another program is started

    in Windows 10 Gaming
    How to have Task Scheduler start a program after another program is started: Is there a way to have the task scheduler start a program after it has started a previous program?for instance, I'm running a dedicated DCS server on my computer and have setup the task scheduler to restart the computer everyday at 2 AM. I then have another task stating that...
  3. How to have Task Scheduler start a program after another program is started

    in Windows 10 Software and Apps
    How to have Task Scheduler start a program after another program is started: Is there a way to have the task scheduler start a program after it has started a previous program?for instance, I'm running a dedicated DCS server on my computer and have setup the task scheduler to restart the computer everyday at 2 AM. I then have another task stating that...
  4. How to have Task Scheduler start a program after another program is started

    in Windows 10 Customization
    How to have Task Scheduler start a program after another program is started: Is there a way to have the task scheduler start a program after it has started a previous program?for instance, I'm running a dedicated DCS server on my computer and have setup the task scheduler to restart the computer everyday at 2 AM. I then have another task stating that...
  5. Task Scheduler Idle Trigger and two Start a Program Actions simultaneously

    in Windows 10 Customization
    Task Scheduler Idle Trigger and two Start a Program Actions simultaneously: Hello, I am trying to use Task Scheduler to run two never-ending batch files on the idle mode trigger. The issue is that instead of running both apps at the same time it starts the second one only after the first one has closed. Is there any way to specify in the settings...
  6. Task Scheduler is not starting

    in Windows 10 BSOD Crashes and Debugging
    Task Scheduler is not starting: Whenever I try to start Task Scheduler, it always brings me to an error. It says, "The Task Scheduler service on Local Computer started and then stopped. Some services stop automatically if they are not in us by other services or programs. I need to start this, so I can...
  7. Start/stop a program in Task Scheduler

    in Windows 10 Customization
    Start/stop a program in Task Scheduler: I want to launch a particular program after another program has loaded, and terminate that particular program after closing that other program. Any idea how this would work in Task Scheduler? Thank you....
  8. Task Scheduler: Start a Program with Office

    in Microsoft Office and 365
    Task Scheduler: Start a Program with Office: Does anyone know how to have Task Scheduler start a program to run with the launch of ANY Office application? I have a registry edit which will enable the black theme in Office 2016. It needs to be run each time any Office app opens. I can do this on an individual basis, or...
  9. Actions in Task Scheduler

    in Windows 10 Support
    Actions in Task Scheduler: I have two Scheduled tasks whose actions start the same program, but with different parameters. If these two program instances happen to get scheduled at more or less the same time, then one will wait for the other to finish. But it seems to me that sometimes the one...
  10. Task Scheduler Will Not Start

    in Windows 10 Support
    Task Scheduler Will Not Start: Hey everyone, Have an issue with task scheduler not stating which is causing issues with say Nvidia Geforce Experience not starting as it requires it to update. When I try to start it from services I get that error. [img] When I try to launch the task scheduler...