I am using an older Pentium 90 for my DCD.  For some reason the system
clock gains over a minute a day.
I tried putting the rdate -s command in /etc/crontab as suggested by
Charles in a recent message.

syslog showed that it runs on schedule - but the clock never got
synchronized.  The command ran as root and file permissions and path
were correct.  It would not work with either an internal or an
external time server.
However, the clock always was updated from the keyboard when typing in
rdate -s "favorite.time.server" or putting it in /root/.profile
(requires a login to function).

If I put the rdate in /etc/cron.d/multicron  - everything worked.  I
have not made any changes to the firewall by allowing ntp.

crontab would not correctly run the command.  Same command in
mutlicron works.  Strange - but at least it works now.
-------------
# cat /etc/cron.d/multicron
#Periodic schedule for multicron. (Ping check, Space check, etc)
#Default: Every 15 minutes
*/15    * * * * root    /etc/multicron-p
11 05,11,17,23   * * *   root    rdate -s 132.163.4.101
12 05,11,17,23   * * *   root    hwclock --systohc

--
Victor McAllister



_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to