LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need Your Validation (https://www.linuxquestions.org/questions/linux-newbie-8/need-your-validation-513933/)

scbops 12-26-2006 10:34 PM

Need Your Validation
 
my production system time is 1 hrs behind the actual local time. therefore I need to sync it with correct local time. I can't correct it at once because online business will get effected so I need to over run the clock, will following command take me there

watch -n 60 "date --set='+2 minute'"

archtoad6 12-27-2006 05:09 AM

2 minute jumps are WAY too big -- they may do weird things to your file date consistency. I would work in tenths or 1/100's of a second & I would do some research on the 'Net before I decided what size each increment should be. "NTP" is a good Google starting point.

First, I would be sure that the problem is real. Not to be rude or insulting, but how do you know you have a problem? And how did it get so big? What are the symptoms? Could they be masking a different problem?

Consider the following:
  • Exactly 1 hour?
  • Do you know how this happened?
  • Is this in any way related to daylight time?
  • Is this in any way related to a time zone error?
  • Is your hardware (BIOS) clock set to UTC or local?
  • How do you normally keep this server synced?
  • What do you sync to?
  • Do you serve time to your LAN?
  • Is there no automatic & more gradual method provided?


All times are GMT -5. The time now is 12:14 PM.