Task Scheduler on Windows: Handling Program Dependencies
Task Scheduler on Windows: Handling Program Dependencies
You can set up a background dependency using Task Scheduler. Create a trigger that activates Program B only after Program A starts, and link it to Program A’s start event. This way, A will wait for B to be running before proceeding. You can also configure it to terminate A if B isn’t detected at regular intervals.
In my understanding, there’s no alternative to ensuring program A launches only after B is active. The best approach is to terminate A promptly. Below is a batch script designed for system startup via the task scheduler, running in the background and allowing Chrome to start just when Firefox is up. This ensures Chrome launches immediately upon Firefox’s presence.
It seems you've outlined your planned path. Let me know how I can assist further.