At least for some versions of Raspian/Debian/Linux there is a systemd-time-wait-sync service that will hold up processes until the time is synchronized. Discussed here. <https://groups.google.com/g/weewx-user/c/7RO3UytAonA/m/3dJGZ9ogBQAJ>
On Thursday, September 16, 2021 at 8:19:01 AM UTC-5 [email protected] wrote: > For some instances I have of weewx I don't have an RTC, so I came up with > a delay loop that waits > for NTP to sync before exiting the loop and letting weewx start up. It's > added to extensions.py. > I can send the (python2) code if someone wants it. > > Chris > > On Wednesday, September 15, 2021 at 11:26:40 AM UTC-6 vince wrote: > >> ok - it's a known issue because you are not running a realtime clock on >> your pi. You can add a RTC module for a few dollars, or live with the >> annoyance (at this time) since weewx is running ok. >> >> You could probably try to crutch it with a cron job that restarts weewx >> 10 minutes after a reboot (untested) if it bothers you that much, but you >> still need quality system time before weewx will come up reliably. >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1c4ba2df-bf4f-4ce6-a6a9-6aefb95bdc00n%40googlegroups.com.
