Technical article 125955

My clock drifts every time I run the `asktime` or `setclk` commands on OpenServer System Release 5.0.7

OpenServer 5.0.7

Written · Last revised

Problem

Both the system clock and the real-time clocks are
drifting when running `asktime` or `setclk`.  The time
drifts by the timezone offset from GMT, as defined in
/etc/TIMEZONE.
The problem can be seen with this loop:
  while :
   > do
   > setclk -sv
   > sleep 1
   > done
  RTC 2004/12/20 17:55:06 DST
  SYS 2004/12/20 17:55:07 STD  RTC-SYS=-1
  RTC 2004/12/21 01:55:09 DST
  SYS 2004/12/20 17:55:08 STD  RTC-SYS=28801
  RTC 2004/12/21 09:55:12 DST
  SYS 2004/12/21 01:55:11 STD  RTC-SYS=28801
  RTC 2004/12/21 17:55:15 DST
  SYS 2004/12/21 09:55:14 STD  RTC-SYS=28801

Solution

This problem has been corrected in OpenServer Supplement OSS671a, which can be downloaded through the support download page at:

http://www.sco.com/support/download.html

See also

asktime(ADM), crontab(C), date(C), setclk(ADM)

From the Xinuos technical article database, record 125955. Reproduced with permission. The original is at www.sco.com/ta/125955, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.