|
On Thu, 27 Feb 2003, Chris Bipes wrote: > How are you syncing to an NTP server. The SNTP server in OS400 V5R1 does > not set the hardware clock. IBM does not provide a free NTP client to set I just had an idea on this if you don't want to use a real ntp implementation. But it does require a *nix computer (that does use ntp if you want accuracy). Write a small and simple sockets program that connects to a *nix computer. When the *nix computer receives the connection it runs 'date -u' (for time in UTC: Fri Feb 28 00:30:52 UTC 2003) or 'date -R' (for RFC-822 compliant date string: Thu, 27 Feb 2003 17:30:55 -0700) and then sends the result over the socket to the iSeries. iSeries parses and sets the date and disconnects. Run from the scheduler once a day. James Rich
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.