Welcome to the ThinManager Knowledgebase.
Additional knowledgebase articles can be found at 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.

Difference between revisions of "Watchdog"

From ThinManager Knowledge Base
Jump to: navigation, search
(Usage)
Line 4: Line 4:
 
==Usage==
 
==Usage==
 
*Create a .bat file that contains the following code:
 
*Create a .bat file that contains the following code:
<code> start /wait Path\to\Program\executable.exe  
+
<pre>
 
+
start /wait Path\to\Program\executable.exe  
shutdown /f /l</code>
+
shutdown /f /l
 +
</pre>
 
*Setup ThinManager to launch the .bat file instead of the regular executable.
 
*Setup ThinManager to launch the .bat file instead of the regular executable.
 
*Restart thin client (if thin client is currently running)
 
*Restart thin client (if thin client is currently running)

Revision as of 19:43, 13 September 2012

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)