Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I NEED TO SYNC TIME BETWEEN SERVERS

Status
Not open for further replies.

rankar

IS-IT--Management
Jul 30, 2001
60
US
I am trying to sync time between two servers, I am not familiar with linux, but on a Unix box I can do this using the rdate command, does anyone know what command I can use in linux that will do this?
 
In Linux (RedHat) there is the rdate command as well. The format of the command is rdate -s <time-server name>. I am not sure if this is exactly what you are looking for but hope it helps.
Cheers
 
hi!

I want to sync my Mandrake 8.1 box with time servers and put the command in the crontab..


What is the command in mandrake? Arlequín
arlequin@montevideo.com.uy
 
Hi,









The standard way would be to install the 'ntp' rpm and set that running as a service with :









/sbin/chkconfig --level 2345 ntp on









You edit /etc/ntp.conf to add a timeserver thats good for you (see








You can run with cron with a command such as the following in a /etc/cron.daily file (create a /etc/cron.daily/ntp ):









#!/bin/sh




/usr/sbin/ntpdate time.nist.gov









(the parameter is an example timeserver)








Actually, Mandrake Control Centre has wizard to set time servers if you have the wizards installed.








Hope this helps




:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top