|
Reference Command Line Mode ClockWatch can be started from the command line using the Windows95 Run command or from the MS-DOS prompt. When called from the command line, without argument, ClockWatch will start and wait for user input. If you launch ClockWatch from the command line and want the program to run once and exit without user intervention use the once command argument
ClockWatch Pro <program_path> ClockWatch.exe once Runs ClockWatch in the unattended mode, where <program_path> is the path where the executable is located, ClockWatch.exe is the executable and once is the command line option. This is equivalent to starting the program in the Manual mode, pressing the "Set Time" button and exiting. Note that in this mode ClockWatch uses the system default timeserver to make the connection. To start ClockWatch in the normal, attended mode, omit the once argument.
ClockWatch Server Users of ClockWatch Server should use the following command: <program_path> CWSrvc.exe once Using the CWSrvc executable has the added advantage of using the specific ClockWatch settings instead of the system defaults.
Clock Setting Log File Format This section explains how to interpret the ClockWatch log. If logging is enabled in the Options->Logging tab this log is updated each time a setting is made. A sample of the Log is included below:
Synchronization Log 9/14/98 11:43:12 AM Date Time Difference Accuracy Status Server ----- ---- ---------- -------- ------ ------ 98-09-14 11:42:37 2 10.0 5 time-a.nist.gov 98-09-14 11:52:28 0 0.0 5 time-a.nist.gov
The first line is the title and includes the date and time the log was first used. The second line contains the column headers these include: Date The date the setting was made.
Time The local time the setting was made.
Difference The difference (in seconds) in the local time from the adjusted timeserver time. May be a positive or negative number.
Accuracy The rate of clock drift in time in terms of seconds per day.
Status The results of the setting. See Status Result Codes, below.
Server The name of the timeserver used to make the setting. Direct modem connections will show the phone number dialed.
|
|