I have two tasks:
What I'm trying to do is to trigger task number 2 after task number 1 has already triggered. After WAMP's task has ran I would like to run Google Chrome's task.
Think of it as a callback function. When task 1 has finished running, trigger task 2.
Note: I'm trying to do that using windows 8.1 task scheduler
You can Trigger the Task2 with 'On an event' option. Go to (Setting - Custom -Edit Event Filter) and put this code in the XML tab.
<QueryList>
<Query Id="0" Path="Microsoft-Windows-TaskScheduler/Operational">
<Select Path="Microsoft-Windows-TaskScheduler/Operational">*[EventData
[@Name='TaskSuccessEvent'][Data[@Name='TaskName']='\Task1']]</Select>
</Query>
</QueryList>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With