-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 02 February 2002 06:11 am, James Pifer wrote:

> What does work is if I stop ntpd and run "ntpdate 192.168.1.2". I know
> this isn't pretty, but is there a way I can schedule that process to
> run every so often? Every 5 minutes, 60 minutes, or twice a day?
> Something.... Would I use cron for that?
>
> Any suggestions and config examples would be appreciated.

I'm not sure why the machines won't sync. 

I run ntpd on one network machine, and use ntpdate to sync to the 
timeserver via a cron job every two hours.

You can add an entry to /etc/crontab that looks similar to:
30 */2 * * * root /usr/sbin/ntpdate -u your.server.here > /dev/null

The above entry syncs the time every 2 hours on the half hour. No mail is 
sent unless there is a problem.

Hope that helps,

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8W+pSeMAUbzJhSVcRAr91AJ9sK1L+0h4NqmUD/ByRpHOFMfDW3QCfQ5ve
29FLef0LbtEPEn32y5NyhOg=
=yh4n
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to