[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trouble with cron



On Thu, 2006-10-12 at 12:05 -0500, cothrige wrote:
> * Johannes Wiedersich (johannes@physik.blm.tu-muenchen.de) wrote:
> > 
> > Which editor are you using? Please do a
> > ll /etc/alternatives/editor
>  
> Oddly it says nano as well, but my EDITOR and VISUAL variables are
> both set to emacs, which is that which I use generally.  And that is
> what was invoked with crontab -e both times, and not nano.  BTW, I
> found that just as with Slackware, the EDITOR variable does not seem
> to change the crontab editor, but VISUAL does.  I found it out as in
> trying to intentionally use vi instead I had to change VISUAL to make
> it come up.  Nothing online seemed to indicate this is so but the
> Debian helps and such all mention EDITOR.  Have you had this
> experience?

Can't recall off my head, I set them both.

Anyhow, when you do 'crontab -e' what temp file name does it give, and
then do 'save file' from emacs, precisely what happens? 

> > since I configured nano as the default editor. I suspect that you might 
> > unknowingly run an unfamiliar editor and  might unknowingly quit without 
> > saving.
> 
> Okay, I think I figured it out.  In typing this email I was going to
> yank in the output of crontab -l as it is odd.  

hang on, I thought you said it had *nothing* before....



Reply to: