![]() |
#3
|
||||
|
||||
![]()
On Debian/Ubuntu servers, by default there is no automatic clock synchronization, because if the clock syncs during an active transaction, particularly if during multiple transactions (in this case, a transaction is writing something to the database), it could cause a problem if the entries are out of order. It means very little on, say, a forum, but someone running a business could be liable for having database entries out of order.
Quartz clocks, like the ones in computers, are rather accurate, but they do lose or gain small amounts of time over long periods, so they need to be re-set every now and then. Windows, for instance, attempts to synchronize every week or two. |
#4
|
||||
|
||||
![]()
I had to do it a little later than desired, but it's so weird seeing the time go backward:
Code:
$ date Tue Aug 12 00:29:52 PDT 2014 $ sudo ntpdate pool.ntp.org 12 Aug 00:25:47 ntpdate[15731]: step time server 204.2.134.164 offset -249.769222 sec Code:
$ sudo ntpdate pool.ntp.org 12 Aug 00:31:12 ntpdate[16484]: adjust time server 204.2.134.164 offset 007809 sec ![]() Last edited by Cat333Pokémon; August 12, 2014 at 12:32:43 AM. |