man ntpdate: " -s Divert logging output from the standard output (default) to the system syslog(3) facility. This is designed primarily for conve- nience of cron(8) scripts. " Change your cron job to
5 * * * * /usr/sbin/ntpdate -s ru.pool.ntp.org This will suppress the email you're getting. Consequently, this doesn't solve the problem of not finding a suitable time server, but for that I'd suggest enabling ntpd. You should do some reading ('man ntpd') or more specifically, if you don't want to leave ntpd running, read-up on 'ntpd -q' which mimmicks the behavior of ntpdate but allows you to use multiple ntp servers. -- Nathan Vidican nat...@vidican.com On Fri, Mar 12, 2010 at 5:57 AM, Антон Клесс <antoniok....@gmail.com> wrote: > I have the following line in my root cron: > > 5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org > /dev/null > > That must hourly adjust system time via NTP. > But I discover that it works from time to time: some days just once, some > days 5-6 times a day I receive e-mail with text like > > 12 Mar 12:05:05 ntpdate: no server suitable for synchronization > found > > > But if I log in to server and run > > # /usr/sbin/ntpdate ru.pool.ntp.org > > everything always works OK: it says > > 12 Mar 13:51:57 ntpdate: adjust time server 22.214.171.124 offset > -0.616000 sec > > > Maybe NTP server doesn't like when some client (my server) asks it such way > - once a hour in same minute - and blocks my queries? > > Any suggestions? > _______________________________________________ > email@example.com mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"