Execute the runProxy Command Manually on Windows Task Scheduler
- Open Task Scheduler.
- ClickCreate Basic Task.
- In the General tab, enter a name for your task.
- SelectRun whether user is logged on or not.
- CheckRun with highest privileges.
- In the Triggers tab, add a new trigger. Set the trigger to when the device starts.
- In the Actions tab, create a new action. Set the action toStart a program.
- In theProgram/scriptfield, enter:
<app_root>/node_modules/appdynamics-proxy/proxy/runProxy.cmd
- In theAdd argumentsfield, enter:
-d <app_root>/node_modules/appdynamics-proxy -j <app_root>/node_modules/appdynamics-jre/jre %TEMP% 10101
- In the Start infield, enter:
<app_root>/node_modules/appdynamics-proxy/proxy
- Click OKto finish the wizard.
- Reboot the system, and check the Task Manager for a Java process.