Start TFS Server Job Agent Service
This task starts the following TFS Windows NT Service:Visual Studio Team Foundation Server Task Scheduler, whose service name is TfsServerScheduler
Target | TeamFoundationServer2017.TfsApplicationTierServer |
Accessibility | Public |
Category | Custom |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
TfsStartJobAgentService | WriteAction | Microsoft.Windows.ServiceControlManager.StartService | Default |
<Task ID="TeamFoundationServer2017.TfsStartJobAgentService" Accessibility="Public" Enabled="true" Target="TeamFoundationServer2017.TfsApplicationTierServer" Timeout="300" Remotable="true">
<Category>Custom</Category>
<WriteAction ID="TfsStartJobAgentService" TypeID="Windows!Microsoft.Windows.ServiceControlManager.StartService">
<ComputerName>$Target/Property[Type="TeamFoundationServer2017.TfsApplicationTierServer"]/ATComputerName$</ComputerName>
<ServiceName>$Target/Property[Type="TeamFoundationServer2017.TfsApplicationTierServer"]/JobAgentServiceName$</ServiceName>
</WriteAction>
</Task>