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
Printable View
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
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. :)
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 :)
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
cool, thanks! :D