PDFs

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add Task Scheduler section. DOC-179

...

No Format
.\node_modules\appdynamics\node_modules\appdynamics-proxy\proxy\runProxy.cmd 
		-j .\node_modules\appdynamics\node_modules\appdynamics-jre\jre /var/log/proxy 
		.\node_modules\appdynamics\node_modules\appdynamics-proxy\proxy\logs
		10101

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. Click Create Basic Task.
  3. In the General tab, enter a name for your task.
  4. Select Run whether user is logged on or not.
  5. Check Run with highest privileges.
  6. In the Triggers tab, add a new trigger. Set the trigger to when the computer starts.
  7. In the Actions tab, create a new action. Set the action to Start a program.
  8. In the Program/script field, enter the following: 
    <app_root>/node_modules/appdynamics-proxy/proxy/runProxy.cmd
  9. In the Add arguments field, enter the following: 
    -d <app_root>/node_modules/appdynamics-proxy -j <app_root>/node_modules/appdynamics-jre/jre %TEMP% 10101
  10. In the Start in field, enter the following: 
    <app_root>/node_modules/appdynamics-proxy/proxy
  11. Click OK to finish the wizard.
  12. Reboot the system, and check the Task Manager for a Java process.