Results 1 to 4 of 4

Thread: My computer clock is going crazy

  1. #1

    My computer clock is going crazy

    I know there is a program to run to keep your system clock sync'd up to a real clock. Unfortunately I dont remember the command nor the server address.

    Also does this set the bios clock or is that another problem?

    Thanks
    Ras

  2. #2

    Re: My computer clock is going crazy

    its rdate -s <timeserver> to sync up with a public timeserver from the internet .. its best to put this into rc.local to sync up at startup or put something into a cron job to do it every 6 - 12 hours or so. This should also set the correct bios clock.
    Timeservers can be found here : http://www.eecis.udel.edu/~mills/ntp/clock2.htm

    hth,

  3. #3

    Re: My computer clock is going crazy


    its rdate -s <timeserver> to sync up with a public timeserver from the internet .. its best to put this into rc.local to sync up at startup or put something into a cron job to do it every 6 - 12 hours or so. This should also set the correct bios clock.
    Timeservers can be found here : http://www.eecis.udel.edu/~mills/ntp/clock2.htm

    hth,

    Okay thanks but one more thing I have not spent much time looking at the rc.local or putting it into a cron job. Any help with configuration for those?

    Ras

  4. #4

    Re: My computer clock is going crazy

    rc.local depends on your distro, check /etc/rc.d/rc.local if it exists then just put the rdate command on the last line there
    cron do as root:
    crontab -e
    then the format is
    min hour day month dayofweek command

    *'s mean anything so you prolly want:
    0 3 * * * /full/path/to/rdate -s <server>

    i picked 3 just cause, use any time you want, remember tis a 24 hour clock

Similar Threads

  1. Server Clock Adjustment
    By genesis in forum Announcements and Suggestions
    Replies: 0
    Last Post: 04-09-2005, 03:02 PM
  2. Stylie little clock app
    By CP in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 09-13-2002, 01:00 AM
  3. Binary Clock
    By gmoreno in forum General Chat
    Replies: 8
    Last Post: 06-01-2002, 02:46 PM
  4. Clock
    By mugs in forum Suse
    Replies: 2
    Last Post: 05-27-2002, 06:49 PM
  5. stupid clock
    By danvitt in forum Mandriva
    Replies: 1
    Last Post: 09-04-2001, 08:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •