APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Unix, Xenix and ODT General FAQ


Some material is very old and may be incorrect today

© December 2003 (various)

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

Why didn't my machine change time for daylight savings time (or any time change) (Old Sco Unix)?

Because it needs to be running at the time that "setclk" is run by crontab (3:01 AM by default). So if you are in the habit of not leaving your machine running at night, the change will not be made.

John Dubois explains: Because the time reported by the CMOS (motherboard) clock is *local time*, and local time includes the effects of DST. It has to, because the BIOS interprets it this way; if the OS tried to leave the CMOS clock set to non-DST time, the BIOS would report the wrong time and admins would "fix" it when they noticed the wrong time being reported.

So, if the system is booted and sees that it's July and 15:10, then it's July and 15:10. If it's booted and sees that the time is November and 15:12, it's November and 15:12. There is no attempt to shift time from what the CMOS clock reports. The CMOS clock is kept in sync with local time by adjusting it back or forward as neccessary when the DST transitions occur, via that /etc/setclk command in crontab. But this obviously only occurs if the system is running at the right time.

Aloso see:

SCO TIMEZONE changes
DST script


If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> (SCO Unix) Why didn't my machine change time for daylight savings time(or


Inexpensive and informative Apple related e-books:

Take Control of Apple Mail, Third Edition

Take Control of OS X Server

Take Control of iCloud

Sierra: A Take Control Crash Course

El Capitan: A Take Control Crash Course






Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





As an experimental psychologist, I have been trained not to believe anything unless it can be demonstrated in the laboratory on rats or sophomores. (Steven Pinker)




Linux posts

Troubleshooting posts


This post tagged:

FAQ

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode