[kr10] Synchronize servers with colombian time and date
Test equipment
I needed to maintain my server synchronized with legal time and from Colombia in order to register some meetings, tasks and other important things on Sugar CRM. First I made a script called ntp.sh in which I included two lines shown below. Servers given in Colombia for synchronize time and date are located in Superintendencia de Industria y Comercio, with IP's 200.91.231.202, 200.91.231.197 and 200.91.231.201.
The script ntp.sh was stored in /etc/cron.hourly with the purpose to be executed every hour by system itself. Once it was stored proceed to verify actual time and date, execute the script and verify again time and date to see if it is updated.
Related links
Read More......
Linux CentOS Server 5.2
Servidor Proliant ML115 AMD Opteron 2.6Ghz/64b
Servidor Proliant ML115 AMD Opteron 2.6Ghz/64b
I needed to maintain my server synchronized with legal time and from Colombia in order to register some meetings, tasks and other important things on Sugar CRM. First I made a script called ntp.sh in which I included two lines shown below. Servers given in Colombia for synchronize time and date are located in Superintendencia de Industria y Comercio, with IP's 200.91.231.202, 200.91.231.197 and 200.91.231.201.
#!/bin/sh
ntpdate -u 200.91.231.202
ntpdate -u 200.91.231.202
The script ntp.sh was stored in /etc/cron.hourly with the purpose to be executed every hour by system itself. Once it was stored proceed to verify actual time and date, execute the script and verify again time and date to see if it is updated.
# date
vie feb 6 18:21:20 COT 2009
# sh /etc/cron.hourly/ntp.sh
6 Feb 18:25:12 ntpdate[22944]: step time server 200.91.231.202 offset 209.124355 sec
# date
vie feb 6 18:25:42 COT 2009
vie feb 6 18:21:20 COT 2009
# sh /etc/cron.hourly/ntp.sh
6 Feb 18:25:12 ntpdate[22944]: step time server 200.91.231.202 offset 209.124355 sec
# date
vie feb 6 18:25:42 COT 2009
Related links

