public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: Barry Pollock <barryp@mail.hurontel.on.ca>
To: speakup@braille.uwo.ca
Subject: Re: Help with date and redhat 9
Date: Sun, 26 Oct 2003 19:39:43 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0310261928310.406@box> (raw)
In-Reply-To: <Pine.LNX.4.44.0310261713520.2720-100000@champion.sent.com>

in redhat you can set the clock using rdate
rredhat puts rdate in /usr/bin
and debian puts it in /usr/sbin


here is my debian script
You can put it in cron.daily.


I call mine
/etc/cron.daily/gettime

#!/bin/sh

/usr/sbin/rdate -s time1.unet.brandeis.edu







On Sun, 26 Oct 2003, Chuck Hallenbeck wrote:

> Hi Sima,
>
> Here is how I do it. The following command is executed as root:
>
> netdate -l 0 tick.wustl.edu tcp bumpy.braille.uwo.ca
>
> It is probably best to make an alias for this, or put it in a
> script or something. In my case, I execute that line within my
> ip-up script.
>
> It will update your time within the kernel, but not reset the
> hardware clock. That turns out to be no problem on this slackware
> system, since slackware copies the time from the kernel into the
> hardware clock during the shutdown process, and the only other
> time the hardware clock is referenced is during bootup, I
> believe.
>
> The line above references two time servers, in case one or the
> other might be down for some reason.
>
> Hope that helps
>
> Chuck
>
>
> On Sun, 26 Oct 2003, Sina Bahram wrote:
>
> > Hello all
> >
> > I am having a bit of a problem with the date command. I want to set it
> > up so that my computer can fetch the current date from a time server.
> > However, I know of no time servers and I also have no clue how to pass
> > the correct arguments to the date command. Can anyone help me out on
> > this?
> >
> > What should be the commands to the date command to tell it to look at
> > some server for the time, and set the system time accordingly.
> > I am on eastern standard time if that helps.
> >
> > Thanks,
> > Sina
> >
> > No trees were destroyed in sending this message. However, a large number
> > of electrons were terribly inconvenienced.
> >
> >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> --
> The Moon is Waxing Crescent (3% of Full)
>  Get my public key from website, http://www.mhonline.net/~chuckh
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>


  parent reply	other threads:[~ UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 my mutt shit itself Alex Snow
 ` Help with date and redhat 9 Sina Bahram
   ` Chuck Hallenbeck
     ` Gregory Nowak
     ` Sina Bahram
     ` Barry Pollock [this message]
       ` Sina Bahram
   ` Adam Myrow
     ` Sina Bahram
       ` Sina Bahram
         ` Chuck Hallenbeck
           ` Sina Bahram
             ` Chuck Hallenbeck
               ` Sina Bahram
       ` Chuck Hallenbeck
         ` Sina Bahram
           ` Alex Snow
             ` Sina Bahram
               ` Gregory Nowak
                 ` Sina Bahram
               ` Alex Snow
   ` Alex Snow
     ` Sina Bahram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0310261928310.406@box \
    --to=barryp@mail.hurontel.on.ca \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).