Re: [chrony-users] Using Chrony with a DS3231 RTC without RTC_UIE_ON |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Using Chrony with a DS3231 RTC without RTC_UIE_ON
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 22 Jun 2020 10:24:55 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592814349; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=H+egl+t/BgkXUzMrwgEM36hENMo0QKcoe2B4lLDvRHA=; b=g6g2kK+7u87ht4+gWdBAcNb9Ftkwpd98/TnJ/aApLjotA2ybncWXK8rDBmpk+PoNSXhhkw vbV2fZDpUlpK04ubaBJXg1upmRHhWkEFxIoh0UO+dCZtHQzrLLsWc8E/G4Z02mszpu50V2 z0yvrjmATX7AUzeI6+a5z6IsGv637hE=
On Sun, Jun 21, 2020 at 03:47:32AM +0300, Avamander wrote:
> Yeah, constant tracking seems infeasible. Though, I do think it would be
> fine if done once in a month or something. Now to think of it, I'd be fine
> if it's not tracked at all, just that it's kept up-to-date and Chrony is
> able to restore time on boot. Is there a way to at least have that?
The -s option should read the RTC even without the tracking, but it
won't be able to compensate for the drift and the writertc command
won't work. I'd suggest to call hwclock -w on shutdown or periodically
as a cron job.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.