Help with date and redhat 9

Alex Snow alex_snow at gmx.net
Mon Oct 27 06:29:04 EST 2003


vi...yuck. Using something like nano or emacs will make your life 
easier. just add it to your editor and visual variables and that'll 
become your system-wide editor.
On Sun, Oct 26, 2003 at 09:30:17PM -0500, 
Sina Bahram wrote:
> I have got everything working now except for one thing. I realized that
> my knowledge of VI which is the editor crontab is using, is rather
> dotted.
> 
> After I get out of insert mode with escape, how do I get to the place
> where I can type wq to tell it to write and quit?
> 
> Thanks,
> Sina
> 
> No trees were destroyed in sending this message. However, a large number
> of electrons were terribly inconvenienced. 
> 
> -----Original Message-----
> From: speakup-admin at braille.uwo.ca [mailto:speakup-admin at braille.uwo.ca]
> On Behalf Of Alex Snow
> Sent: Sunday, October 26, 2003 9:03 PM
> To: speakup at braille.uwo.ca
> Subject: Re: Help with date and redhat 9
> 
> 
> did you set the VISUAL and EDITOR variables to your favorite editor? 
> If you wanted to use nano for example you'd do
> export VISUAL=/usr/bin/nano
> export EDITOR=/usr/bin/nano
> note that EDITOR and VISUAL are in all caps.
> 
> On Sun, Oct 26, 2003 at 
> 07:21:37PM -0500, Sina Bahram wrote:
> > Wel I got rdate to work, but now I can't get crontab to work. And I am
> 
> > on a cable connection and I keep the redhat box up continuously. I 
> > boot it occasionally on a weekly or byweekly basis, but otherwise I 
> > just keep it up and running, so that should be ok. I would probably 
> > schedule the chron for daily and also at startup and shutdown, but I 
> > have no clue how to do that.
> > 
> > Thanks,
> > Sina
> > 
> > No trees were destroyed in sending this message. However, a large 
> > number of electrons were terribly inconvenienced.
> > 
> > -----Original Message-----
> > From: speakup-admin at braille.uwo.ca 
> > [mailto:speakup-admin at braille.uwo.ca]
> > On Behalf Of Chuck Hallenbeck
> > Sent: Sunday, October 26, 2003 7:04 PM
> > To: speakup at braille.uwo.ca
> > Subject: RE: Help with date and redhat 9
> > 
> > 
> > 
> > Sima,
> > 
> > I don't believe netdate is slackware specific, but I have no 
> > experience with other distros, so I cannot say how common it is.
> > 
> > If you are using a dialup connection you might want to be careful 
> > about putting your network time command in a crontab, since it would 
> > try to execute whether or not you are connected when its scheduled 
> > time came around. That is why I put mine in the ip-up script instead 
> > of crontab. That script only executes when a ppp connection is 
> > established. I am not sure it is all that necessary to get the correct
> 
> > time every hour either, unless you are supervising a space launch or 
> > something <smile>. The thing is, the kernel time mechanism is much 
> > more accurate than the battery operated hardware clock, and ought not 
> > to drift much at all over the period of a day. Perhaps it would matter
> 
> > more if your system is up continuously for long periods. I boot up 
> > each morning and bring my system down at night, which is when my 
> > hardware clock gets set from the time the kernel is keeping.
> > 
> > Chuck
> > 
> > 
> > On Sun, 26 Oct 2003, Sina Bahram wrote:
> > 
> > > Thanks for your response.
> > >
> > > The only one of those I have is rdate. I'm going to go see if I can
> > > figure out how to pass a server or multiple servers to it. and then 
> > > figure out how to add it to the chron like Alex was talking about.
> > >
> > > Take care,
> > > Sina
> > 
> > --
> > The Moon is Waxing Crescent (3% of Full)
> >  Get my public key from website, http://www.mhonline.net/~chuckh
> > 
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca 
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> > 
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca 
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> -- 
> Who is General Failure and why is he reading my hard disk?
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Who is General Failure and why is he reading my hard disk?




More information about the Speakup mailing list