[CentOS] Updating hardware clock from cron

Fri Mar 4 21:05:19 UTC 2011
John Hinton <webmaster at ew3d.com>

On 3/4/2011 3:59 PM, Lamar Owen wrote:
> On Friday, March 04, 2011 03:54:21 pm John R Pierce wrote:
>> just setup NTP and forget about it, and it will always work right,
>> unless your system is really badly broken, whereupon, it would be better
>> to fix it than to continue to hack around like this.
> For the sake of the archives, VMware guests should be set to sync from the host using the VMware tools functionality, and then the host should run NTP, even and especially on ESX.  VMware timekeeping in the guest can be made worse by running NTP inside the guest.  This is a well-known VMware issue, and is covered in depth on the VMware knowledgebase.
If you happen to have a server that gains time instead of loses it, note 
that a quick set to a time in the past will trigger an automatic 
shutdown of dovecot by dovecot due to fears of logging issues. I have 
two such machines... the rest lose time.

John Hinton