From: Peter Eisentraut <peter_e@gmx.net>
To: Ken Corey <ken.corey@atomic-interactive.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How do I set the system time on production server?
Date: Wed, 20 Mar 2002 12:22:13 -0500 (EST)
Message-ID: <Pine.LNX.4.30.0203201218330.812-100000@peter.localdomain> (raw)
In-Reply-To: <E16lvXk-0006mI-00@arrows.timewarp.co.uk>
Ken Corey writes:
> I've just realized that our (production, naturally) database's idea of the
> current date/time is 24 hours and 14 minutes fast. What a weird thing.
>
> So, is there a way to set the date/time?
The system time is inherited from the operating system. You can use
date(1) or maybe hwclock(8) to alter the system time. On some systems it
is not recommended to change the system time because that messes up all
kinds of scheduling, so if you can afford it, reboot and change the time
in the BIOS. You should find information in those man pages about the
recommended way to do it on your system.
--
Peter Eisentraut peter_e@gmx.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, ken.corey@atomic-interactive.com
Subject: Re: How do I set the system time on production server?
In-Reply-To: <Pine.LNX.4.30.0203201218330.812-100000@peter.localdomain>
References: <E16lvXk-0006mI-00@arrows.timewarp.co.uk> <Pine.LNX.4.30.0203201218330.812-100000@peter.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox