One server runs Python code to populate a InfluxDB that is running on another server. At restart of the Python server, I want to check the last timestamp in InfluxDB and compare it with the datetime of the Python server. Both servers are Linux, none of them is a ntp server.
On the local Python server I can use Python datetime.now(), but how can I read datetime of the reomote? I found a similar question here, but was'nt very helpful.