How to synchronize time with ntpd ?

I am synchronizing time with cron and simple “scrpit”:
rtc -s hw

but I found that I can do that with ntpd.
Anybody knows how ? :slight_smile:

Read up on ntpd, you need to setup configuration file to point it the the server.

I know it, and set up my /etc/ntp/ntp.conf:
server prefer
…and then run ntpd:
ntpd -d &
…and nothing changes.

How long do I have to wait for time synchronization?