Automating and Scheduling Processes Overview
To manage the startup and shutdown date and times for any application or service on the TT Gateway, you use TT Chron and its configuration file ttchron.ini, both of which install with the TT Gateway. The TT Chron application installs as a service.
Both the ttchron.exe and ttk.exe install in the following directory:
TT Chron monitors and controls processes and Windows services using the file called ttchron.ini. This file lists processes and applications, their run times, general behavior, and any associated command line arguments
You can use the TTK utility via a command window to manipulate programs listed in the ttchron.ini file. TTK uses the tag parameter to identify process sections that you want to manipulate. For details on using TTK, refer to TTK.
Windows 2008 Considerations
You must observe the following when running TT Chron on a server running Windows 2008:
- Due to security changes made by Microsoft, GUIs and Console Windows from server programs launched by TT Chron on Windows Server 2008 R2 machines will not be visible on a user's desktop. Running the "Interactive Services Detection" Windows Service will allow users to switch over to the "Session 0" desktop to view GUIs or message displays from server programs launched via TT Chron.
- Manually starting server programs, as opposed to Windows services, on Windows Server 2008 R2 machines is not fully supported by TT Chron. TT Chron will not be able to cleanly close a manually launched server program or monitor it for crash dialogs if it is started manually. Instead of launching a server program manually and then starting TT Chron, users should first start TT Chron and allow it to start the server program per its schedule.
- The "Start TT Chron" desktop shortcut will not work on Windows Server 2008 R2 machines if UAC is enabled, unless the user selects "Run as administrator" from the right-click context menu.