Search code examples
windows-task-scheduler

Trigger a scheduled task upon completion of a different scheduled task


I run a few weekly reports with python scripts and excel macros - each runs for a few hours, and must be done after midnight Monday morning. Task scheduler is the perfect tool for me! I'd like to get more efficient however.

I would like to schedule these to start once the previous completes (instead of just guessing a time.) I see that I can begin the task 'On an event' and with a custom filter I can get really close to what I want.

I think I need to edit the XML code to be when task XYZ is = ### but I just don't know XML

enter image description here


Solution

  • The way I solved this was to have the actions in the order I wanted in my task scheduler. So the first was triggered by a time, and I had 4 actions after. Windows knows to do them in order.