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)