LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-26-2006, 10:34 PM   #1
scbops
Member
 
Registered: Feb 2006
Posts: 97

Rep: Reputation: 15
Exclamation 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'"
 
Old 12-27-2006, 05:09 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
php validation logic spoody_goon Programming 5 01-14-2006 07:31 PM
Genuine Windows Validation microsoft/linux General 1 10-11-2005 10:43 PM
email address validation rblampain Linux - Security 8 09-21-2005 02:20 AM
Confused trying to do password validation in PHP Pcghost Programming 4 02-02-2004 12:10 PM
Validation Makaveli.2003 Programming 1 05-06-2002 08:30 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration