CLOCK.NLM  3,371  05-25-98  1:00p


Description
Novell NetWare v4.x server utility for easy and cheap way to get server time much more accurate. This module do it by correction of systematic error of the real-time CMOS clock. Designed for primary time server, ie. server with line "set Default Time Server Type = SINGLE" in AUTOEXEC.NCF. This server (TIMESYNC.NLM) should update system time from real-time CMOS clock, because CLOCK.NLM can adjust this CMOS clock only.

Using
  • Set correct server time by console command set time hh:mm:ss
  • After longer period (minimum 14 days) check server time and calculate system time shift in milliseconds per day
  • Set correct server time by console command set time hh:mm:ss
  • To start adjusting, at the file server console type:
    load clock -milliseconds /d if clock was ahead
    load clock milliseconds /d if clock was late
  • Add same line without /d switch to AUTOEXEC.NCF
At the file server console type:
load clock w/o any parameters to show real-time clock as well as system time
load clock /? to get help

  • Maximum milliseconds is 1,440,000 ie. one second per minute. Minimum is one.
  • milliseconds can be updated dynamically when CLOCK.NLM is running, so you can fine tune it at any time. In this case don't forget modify AUTOEXEC.NCF file.
  • Each clock correction is displayed on file server console screen and last adjusting time is saved to SYS:/SYSTEM/CLOCK.ADJ for using it after server down and reboot.
  • When something going wrong, delete file SYS:/SYSTEM/CLOCK.ADJ, set correct server time and load clock milliseconds again.
Examples
  • Start adjusting server's real-time clock if it was late 7.2 seconds per day:
    load clock 7200
  • Display current adjusting time in seconds and both server times:
    load clock
Files
  • SYS:/SYSTEM/CLOCK.ADJ

Disclaimer
This program is freeware and FW4NW is not responsible for any damages or losts by using this program. You should test it carefully before using it on a server with live data.

Home Page