Linux date as filepro sees it
Jeff Harrison
jeffaharrison at yahoo.com
Thu Oct 26 04:26:15 PDT 2006
--- Ron Kracht <rkracht at filegate.net> wrote:
> Bill Campbell wrote:
> > On Wed, Oct 25, 2006, Jeff Harrison wrote:
> >
> >> --- Fairlight <fairlite at fairlite.com> wrote:
> >>
> >>
> >
> > ...
> >
> >> Thanks. I don't know what time zone the box is
> >> configured for. Do you take me for a sys admin
> or
> >> something :-)
> >>
> >
> >
> >> I tried echo $TZ and it did not come back with
> any
> >> value. I'll bet you are right - that the BIOS
> time is
> >> off. Is there a way to heck that without
> re-booting?
> >>
> >
> > Presuming that the Linux time is correct, and that
> you're logged
> > in as root, ``hwclock -u -w'' will write the Linux
> time to the
> > hardware clock. I can't imagine FP going to the
> hardware instead
> > of using the normal Linux/Unix calls to get the
> time.
> >
> > Bill
> >
>
> I find it a good idea to sync with a time server
> before running the
> hwclock command you suggest.
>
> The command to do that is rdate -s timeServerAddress
>
> Information related to finding a public time server
> is available at
>
http://ntp.isc.org/bin/view/Servers/WebHome#Finding_A_Time_Server
>
> If you find your hardware clock drifting a
> inordinate amount it can be a
> good idea to put the above commands in a cron job.
>
>
Thanks Mark, Bill and Ron for all of the suggestions.
I'll give this info to their sys admin as I am not
brave enough to do any of this remotely. - Or perhaps
I should say I am not remotely brave enough :-)
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport. The easiest and
fastest ways to generate code for filePro exports and
imports.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Filepro-list
mailing list