NewtownGuy
Technical User
Hello,
I'm trying to have a number of Linux servers have the same time. I'm running (old) Fedora Core 2 and Fedora Core 3. In /etc/cron.hourly/, I have a file, set_time, with these contents:
I have set the permissions for this little script to 757.
The problem is that rdate does not seem to be running. When I purposely set the time to a few minutes fast, and wait an hour or two, the time is not set to the correct time. I know the IP address of the time server is ok because if I run the rdate line from the command line as root, the time gets updated correctly immediately.
How do I make the time update correctly ? Is there a better way to have multiple machines have the same time ?
Thank you.
-- NewtownGuy
I'm trying to have a number of Linux servers have the same time. I'm running (old) Fedora Core 2 and Fedora Core 3. In /etc/cron.hourly/, I have a file, set_time, with these contents:
Code:
#!/bin/sh
#rdate -s time.nrc.ca
rdate -s 132.246.168.148
I have set the permissions for this little script to 757.
The problem is that rdate does not seem to be running. When I purposely set the time to a few minutes fast, and wait an hour or two, the time is not set to the correct time. I know the IP address of the time server is ok because if I run the rdate line from the command line as root, the time gets updated correctly immediately.
How do I make the time update correctly ? Is there a better way to have multiple machines have the same time ?
Thank you.
-- NewtownGuy