cvs server tim lag

hi

we are using cvs-1.10.8-8 on redhat 7.0 (2.2.16-22) local server, but time differs where can i set the system time.
so that the time should be same as CVS server time.

thanks in advance.

--ramesh  
itsrameshAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

deurkCommented:
To set the system clock under Linux, use the date command. As an example, to set the current time and date to July 31, 11:16pm, type ``date 07312316'' (note that the time is given in 24 hour notation). If you wanted to change the year as well, you could type ``date 073123161998''. To set the seconds as well, type ``date 07312316.30'' or ``date 073123161998.30''. To see what Linux thinks the current local time is, run date with no arguments.

^^
0
lynxlupodianCommented:
And you can use rdate to sync your time with any time servers (rdate -s time.server.of.your.choice), so you will have the precise time. You can also sync the hardware clock (hwclock --systohc) once the system one is correct.

for example, this is the script that i have in my cron jobs:
#!/bin/bash
rdate -s time.nist.gov && hwclock --systohc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
deurkCommented:
If you want to synchronize time with atomic time servers, you'd better use ntp.
http://www.ntp.org/

Hope this helps.
0
lynxlupodianCommented:
rdate works with NTP servers too.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.