In an effort to create a more unified support experience, we have moved support of our Knowledgebase to Rockwell Automation Tech Support.

If you would like to speak with one of our engineers, please Submit a Question or give us a call at the phone number here. In North America, To route your phone support request directly to a technical support engineer, call toll free 1-888-382-1583 or 1-440-646-3434, select Option 3 (Technical Support), then select Option 5 (More Options). When prompted, enter the ThinManager Direct Dial Code 201.

Watchdog

From ThinManager Knowledge Base
Revision as of 19:45, 13 September 2012 by Tseagert (talk | contribs)
Jump to: navigation, search

The Watchdog script will start a specific application, and upon the application's termination, it will force ThinManager to re-establish the connection. This script is primarily designed for applications that will randomly quit but have spawned other processes that are running in the background and preventing the session from restarting. A common example is that view.exe will spawn hd.exe and alarmgr.exe and have them running in the background. If view.exe dies, hd.exe and alarmgr will still be running and Thin Manager cannot restart a terminal session that has running processes.

Usage

  • Create a .bat file that contains the following code:
start "" /wait "Path\to\Program\executable.exe" 
shutdown /f /l
  • Setup ThinManager to launch the .bat file instead of the regular executable.
  • Restart thin client (if thin client is currently running)