Execute the runProxy Command Manually on Windows Task Scheduler

You can schedule the runProxy command in the Windows Task Scheduler.
  1. Open Task Scheduler.
  2. ClickCreate Basic Task.
  3. In the General tab, enter a name for your task.
  4. SelectRun whether user is logged on or not.
  5. CheckRun with highest privileges.
  6. In the Triggers tab, add a new trigger. Set the trigger to when the device starts.
  7. In the Actions tab, create a new action. Set the action toStart a program.
  8. In theProgram/scriptfield, enter: <app_root>/node_modules/appdynamics-proxy/proxy/runProxy.cmd
  9. In theAdd argumentsfield, enter: -d <app_root>/node_modules/appdynamics-proxy -j <app_root>/node_modules/appdynamics-jre/jre %TEMP% 10101
  10. In the Start infield, enter: <app_root>/node_modules/appdynamics-proxy/proxy
  11. Click OKto finish the wizard.
  12. Reboot the system, and check the Task Manager for a Java process.