How to synchronize time with ntpd ?

I am synchronizing time with cron and simple “scrpit”:
ntpdate 10.0.0.11
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 10.0.0.11 prefer
…and then run ntpd:
ntpd -d &
…and nothing changes.

How long do I have to wait for time synchronization?