Starting and Exiting STK Scheduler

Starting STK Scheduler (GUI Entry Point)

To start STK Scheduler, double-click on the STK Scheduler icon on the desktop. STK Scheduler will start with a blank schedule. No STK scenario will be loaded. STK Scheduler may be run completely independently of STK. However, if STK is to be used, use the controls found on the STK Properties Tab of the Schedule Properties Form to browse for and select the desired STK scenario file. If STK is not already running with the selected STK scenario open, the application will then start and/or the selected scenario file will be opened, as necessary.

Alternatively, you may double-click on a previously saved STK Scheduler schedule file to simultaneously open STK Scheduler and load the schedule file. If the schedule file has an associated STK Scenario, the software will check to see if STK is already up and running with the correct scenario open. If not, STK will be started and/or the appropriate scenario opened, as necessary.

Multiple instances of STK Scheduler can be opened and configured through the command line.

The GUI entry point should be used if a windows service is not needed.

Starting STK Scheduler Windows Service (Windows Service Entry Point)

By default STK Scheduler Windows Service is installed as a Manual Start service. If it is desired to have STK Scheduler Windows Service start automatically this setting can be changed in the Start -> Control Panel -> Administrative Tools -> Services application. STK Scheduler Windows Service can be controlled through a Socket Interface. Some other notes on the STK Scheduler Windows Service:

  • The bin directory files STKSchedulerWinServiceReg.bat and STKSchedulerWinServiceUnReg.bat contain the windows commands to register and unregister the STKSchedulerWinService.exe file.
  • Upon first run as a windows service, default configuration files will be written to C:\ProgramData\STKScheduler\configuration. It includes STKScheduler11.Config, STKSchedulerEventLog.Config. These files will need to be manually modified when the service is not running if any values need to be changed.
  • Default location for the event log file is C:\ProgramData\STKScheduler\events and default location for the user directory is C:\ProgramData\STKScheduler.
  • The windows service runs as GUI-less only and cannot show the GUI.
  • The windows service runs as a system level service so it will remain running even if you log out.
  • The windows service cannot accept a COM connection. Therefore communication should be through the TCP/IP connection.
  • The windows service does not initially have a schedule file loaded, so the first command sent should be the NewSchedule or OpenSchedule command.

Exiting STK Scheduler

To exit STK Scheduler select File -> Exit from the STK Scheduler Menu Bar. If the schedule file has been changed since the last time it was saved a message box will appear asking if you want to save the current schedule file. Answering No to this question will exit STK Scheduler without saving the schedule. Answering Yes will either save the schedule, if it has a defined name and location, or it will open a form that will allow you to define the name and the save location (See Saving a Schedule File for more details on saving).