1. Navigate to ApplicareSingleAgent home directory and create a stopAgent.bat file with the following content. Save the file once created.
@echo off
wmic process where "commandline like '%%applicare.standalone=true%%' and name='java.exe'" delete
2. Open Task Scheduler and create the task as specified below.
Do not alter the start time.
Program/script: AgentHomeDir\stopAgent.bat
Add arguments(optional): AgentHomeDir\stopAgent.bat
Start in (optional): AgentHomeDir\
Replace AgentHomeDir with the correct path.
The task will be generated.
Running this task it will terminate all the Java processes, and the SingleAgent task Status will be changed to Ready. Next, right-click the SingleAgent task and select Run to start the agent.
Comments
0 comments
Article is closed for comments.