"Scheduling" RTserver under Windows (rather than using Windows Service)

"Scheduling" RTserver under Windows (rather than using Windows Service)

book

Article ID: KB0087341

calendar_today

Updated On:

Products Versions
TIBCO SmartSockets -
Not Applicable -

Description

Resolution:
There maybe times when you want to automatically launch RTserver upon machine reboot without registering RTserver as a Windows Service. The following outlines using the Windows "Scheduled Tasks" facility.

Start-&gtSettings-&gtControl Panel-&gtScheduled Tasks

Select Add Scheduled Task

Select RTserver and under "Perform this task:"

Select the "When My Computer Starts" radio button. You'll be required to give a password for this task.

On the next screen *be sure* to check mark the "Open Advanced properties for this task when I click Finish".

The next screen is where you will enter your arguments. By default, RTserver is launched from a file in $RTHOME\BIN\I86_w32. Here is where you'll want to enter your command line arguments following the name of the executable. The line should look something like the following:

C:\RTHOME\BIN\i86_w32\rtserver.exe -command my_rtserver.cm

The next entry is the Start In line. By default it looks as follows:

Start in: C:\RTHOME\BIN\i86_w32

Change this to the directory where you want RTserver to launch from, such as
C:\goto\work

Click OK and reboot the box.

If the scheduled process does not start the scheduler log file can be found at \Winnt\ SchedLgU.Txt

Issue/Introduction

"Scheduling" RTserver under Windows (rather than using Windows Service)