rdate equivilent

Issues related to applications and software problems and general support
Post Reply
edwardsmarkf
Posts: 42
Joined: 2012/07/06 23:57:24

rdate equivilent

Post by edwardsmarkf » 2020/10/05 19:04:55

hello all -

my c7 vps crontab came with the following command from the vendor:

Code: Select all

41 1 * * * /usr/bin/rdate -s rdate.interserver.net >/dev/null 2>&1
but from my research rdate is not available on c8.

supposedly, timedatectl can do the same thing, but i am not sure how to get timedatectl to connect to another server. is there any information available how this might be done in C-8?

User avatar
jlehtone
Posts: 3173
Joined: 2007/12/11 08:17:33
Location: Finland

Re: rdate equivilent

Post by jlehtone » 2020/10/05 20:14:34

The rdate does update clock with Time Protocol (RFC 868), doesn't it?
Wikipedia wrote:Many Unix-like operating systems used the Time Protocol to monitor or synchronize their clocks using the rdate utility, but this function was superseded by the Network Time Protocol (NTP) and the corresponding ntpdate utility. NTP is more sophisticated in various ways, among them that its resolution is finer than one second.
CentOS 8 has package chrony that provides chronyd.service. That uses Network Time Protocol and has replaced ntpd & ntpdate.

Post Reply

Return to “CentOS 8 - General Support”