Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-26-2006, 11:34 PM   #1
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, 06:09 AM   #2
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

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


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 08:31 PM
Genuine Windows Validation microsoft/linux General 1 10-11-2005 11:43 PM
email address validation rblampain Linux - Security 8 09-21-2005 03:20 AM
Confused trying to do password validation in PHP Pcghost Programming 4 02-02-2004 01:10 PM
Validation Makaveli.2003 Programming 1 05-06-2002 09:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 PM.

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