LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2005, 03:17 AM   #1
notooth
Member
 
Registered: Apr 2005
Posts: 73

Rep: Reputation: 15
Arrow How to Make Linux Update Time Frequently?


Hello,

I am running Linux on a Virtual Machine, and the time never be correct. Can anyone tell me how to make Linux (or Virtual Machine) update time automatically every day?

Thanks in advance.
 
Old 09-17-2005, 04:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
use an ntpd service to poll any ntp server you like. ntpd will normally slowly monitor your time and adjust on a continual basis, so you'll never get any large jumps when you resync it. the ntp package will also include the ntpdate cli program, which you could just stick in a cron job, e.g. "ntpdate -s pool.ntp.org"
 
Old 09-17-2005, 05:13 AM   #3
notooth
Member
 
Registered: Apr 2005
Posts: 73

Original Poster
Rep: Reputation: 15
That works. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make most amount of Linux users in least amount of time studpenguin General 24 02-02-2007 03:42 PM
is there a way to make a local linux server the time stamp server for win2k? Lleb_KCir Linux - General 2 09-19-2005 07:05 PM
is there anyway to make linux turn on at a scheduled time? jontyrhodes Linux - General 2 06-04-2004 01:04 PM
Redhat Linux 9 getting hanged frequently.. mahamkali Linux - Software 2 05-03-2004 08:32 PM
Red Hat Linux 8.0 hangs and locks up frequently but randomly? jencom Linux - General 4 10-08-2003 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration