Results 1 to 5 of 5
Hey, does anyone know of a small app i can run on my linux box so it gets the accurate time off an atomic clock every few hours or summin? ...
- 06-14-2004 #1Just Joined!
- Join Date
- Feb 2004
- Posts
- 12
Linux time update util
Hey, does anyone know of a small app i can run on my linux box so it gets the accurate time off an atomic clock every few hours or summin? My hardware clock seems to be a bit borked :P
- 06-14-2004 #2
Head over to http://ntp.org. Install the ntp tools and you can set a cron job to set the time/date however often you would like.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 06-14-2004 #3Just Joined!
- Join Date
- Feb 2004
- Posts
- 12
cool! to setup a cron job (running rh9) do i just put a link to it in /etc/cron.daily ? if im wrong can u tell me how? Thanks greatly
- 06-15-2004 #4
Just make a script as follows:
You can use whatever server you like.Code:#!/bin/bash ntpdate navobs1.gatech.edu
Now:
That's all there is to it!Code:su - (enter root password) mv /path/to/script /etc/cron.daily chmod 755 /etc/cron.daily/script.sh
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 06-16-2004 #5Just Joined!
- Join Date
- Feb 2004
- Posts
- 12
cool, thanks!


Reply With Quote
