TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: DAVE
date: 2019-11-06 12:22:00
subject: Re: How to check if the c

On 05/11/2019 17:44, R.Wieser wrote:
> Now, do you have /any/ idea how to detect that the clock has been written to
> after the last time the Pi has been switched on ?   As *thats* the problem
> I'm currently trying to solve - as shown in the title of this message.

1. Try all of the different ways you have of setting the clock - GPS,
NTP, manual, whatever.

2. Look in the system logs to see what message gets logged for each
change. For example I see "systemd-timesyncd[...]: Synchronized to time
server for the first time" for a normal internet-connected boot.

3. Now if you ever see one of those messages again in the log, you'll
know that the time has been changed.
--
Dave

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.