Enforce NTP Time Sync on boot - raspberrypi 3

1.2k Views Asked by At

I have a setup a raspberrypi to sync time from a NTP server as it does not have a HW clock on it, however this update does not happen immediately and takes a while (~15 mins). Is there a way I can enforce the NTP Client to sync datetime with the NTP server before starting up other user processes. If anyone has been able to achieve this please let me know. cheers!

Update: The rPi does not have internet connectivity

1

There are 1 best solutions below

3
On

You might want to try this service from the NIST: NIST Internet Time Service. They have a list of servers here. and tips on how to engage with their system from Windows, OSX, and Linux. The response might be quick enough to hold you over until your NTP client can receive its response.