-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2005-12-16 at 10:05 -0800, Jeff Dierking wrote:
rcntp restart > /dev/null 2>&1
Why don't you test to see if ntpd is running before arbitrarily restarting it?
Because the restart forces a time sync.
There is no harm, IMO, of restarting the service.
Actually, there is. The ntp daemon is designed to run continuously and discipline the system clock; if you restart it, you force it to redo its calculations, which no longer will have a long time to compare drifts. If you are running ntp daemon and it doesn't keep your clock in sync, then you have some problem you have got to find out and solve - but not by restarting the daemon. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDo0n1tTMYHG2NR9URAka9AKCTpO0wStT4Nqh064HSZryzEZuXMACfdjsV q8sxdxHp6PPO+YVjh5KqF3U= =uylP -----END PGP SIGNATURE-----