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)
|