Has anyone found a way to script the start and stop of an individual environment’s Task Agent. Perhaps via command line or batch file?
In the Windows Services there is an Epicor ICE Task Agent, but not one for each environment, (so stopping this one in Services probably kills the Task Agent for all environments).
The below linked post from Nathan at Epicor makes it sound like there should be a way to do so.
“*In 10.1.600, we have a new command line interface for the taskagent where just a taskagent configuration can be restarted instead of the entire service.”
Has anyone acquired an Epicor document that describes this command line interface that Nathan mentions? Or does anyone have a working script/example they can share?
You can do this in 10.1.600 -
Create a configuration file to use
C:\Program Files (x86)\Common Files\Epicor Software\Application Server Manager Extensions\3.1.600\TaskAgentConfiguration>TaskAgentServiceConfiguration.exe -GenerateConfigTemplate="C:\Program Files (x86)\Common Files\Epicor Software\Application Server Manager Extensions\3.1.600\TaskAgentConfiguration\E10Pilot.xml"
Then modify the template and use in a command like this to start or stop
C:\Program Files (x86)\Common Files\Epicor Software\Application Server Manager Extensions\3.1.600\TaskAgentConfiguration>TaskAgentServiceConfiguration.exe -action="STOPAGENT" -ConfigFile="E10PILOT.xml"
Full Documentation Sign In