Go to Robotic Automation version 22.1 documentation

Shutting down Runtime in a Citrix implementation

Use the ShutdownRuntime utility in Citrix deployments to shut down any running Pega Robot Runtime process before relaunching Pega Robot Runtime. Typically, you would only need to use this utility if Runtime hangs during a normal shutdown or if you want to shut down a specific user and then launch an admin session.

This utility is installed in the main installation folder, along with the configuration files, when you install Pega Robot Runtime, Pega Robot Studio, or the Pega Robot Studio plug-in.

Note: To see a complete list of the parameters you can include with this utility, enter the following command:

ShutdownRuntime.exe /Help

The parameters are case-sensitive.

Shutting down all users

When you enter this command, the utility immediately shuts down all Pega Robot Runtime users. Runtime users will have no opportunity to save their work.

  1. Open a command prompt on the machine where Runtime is running.

  2. Enter the following command:

ShutdownRuntime.exe allUsers

Here is an example that includes the pauseBeforeExit parameter, which will pause the shutdown process until the user presses Enter to continue. This gives users a chance to respond to any messages before Runtime is shut down:

ShutdownRuntime.exe pauseBeforeExit allUsers

Shutting down a specific user

When you enter this command, the utility immediately shuts down the Runtime user that you specify. The Runtime user will have no opportunity to save work.

  1. Open a command prompt on the machine where Runtime is running.

  2. Enter the following command:

ShutdownRuntime.exe user=JohnDoe

Here is an example that includes the pauseBeforeExit parameter, which will pause the shutdown process until the user presses Enter to  continue. This gives the user a chance to respond to any messages before Runtime is shut down:

ShutdownRuntime.exe pauseBeforeExit user=JohnDoe

Simulating the shutdown process

Include the noKill parameter to test the shutdown process. For example, if you want to make sure that your entry in the pauseBeforeExit parameter provides a sufficient pause, you could include this parameter.

  1. Open a command prompt on the machine where Runtime is running.

  2. Enter the following command:

ShutdownRuntime.exe noKill

Here is an example that includes the pauseBeforeExit parameter, which will pause the shutdown process until the user presses Enter to continue:

ShutdownRuntime.exe pauseBeforeExit noKill

 

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 28 March 2024

© 2016 - 2024 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label