Task Scheduler: Several Start a program actions


  1. Posts : 1
    Windows10
       #1

    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! :)
      My Computer


  2. Posts : 43,018
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi,
    1. Why not use a bat file, with a delay before the second program is launched? Crude, but may be adequate:
    How to insert delays in your batch files

    2. If you were to write a minimal script to launch these using Autohotkey (free), that would be very easy to accomplish.

    You would then simply schedule the script.

    You could use the Sleep command to delay execution, or the Winwaitactive command, for example.
    Use the Run command to launch the programs.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:45.
Find Us




Windows 10 Forums