Questions tagged [rdate]

a tool for querying the current time from a network server and, optionally, setting the system time

On Unix-like operating systems, rdate is a tool for querying the current time from a network server and, optionally, setting the system time. Rdate uses the Time Protocol. The Time Protocol is generally considered obsolete and has been replaced by the Network Time Protocol (NTP).

When used to set the local system time, rdate operates by changing system time immediately to the time and date returned by the server. Abrupt changes of clock settings have been found to cause problems for software relying on timing. This led to the development of the Network Time Protocol, which gradually changes the system time and does not skip ticks.

Due to the problems described above, rdate is generally used only on systems where NTP is not available, or in specialized circumstances where it is required that system time be set correctly as soon as possible during initial setup, before services which may be vulnerable to abrupt time-changes have started.

Source:

https://en.wikipedia.org/wiki/Rdate

2 questions
5
votes
4 answers

openwrt: Use rdate with NTP servers?

I've noticed that some embedded devices (such as OpenWRT, which runs on Busybox) use rdate to set the system time, instead of NTP. Rdate is an older time protocol, and I'm having trouble finding any working rdate servers in the United States. Is it…
Stefan Lasiewski
  • 22,949
  • 38
  • 129
  • 184
0
votes
1 answer

Clock battery broken on Solaris - how to workaround until I can fix the battery

My main Solaris server has an issue with its battery and thus I lose around 20 seconds per day. Currently I am using rdate once in the morning to synchronise the time. Which approach should I use until I can change the battery on a weekend? Should I…
weismat
  • 343
  • 3
  • 16