www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/16/13:51:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Paul Mead <paul DOT d DOT mead AT gmail DOT com>
Subject: Re: Trouble creating crontab
Date: Thu, 16 Jul 2009 18:51:13 +0100
Lines: 25
Message-ID: <87fxcwy0ry.fsf@gmail.com>
References: <87skgwy4rb DOT fsf AT gmail DOT com> <4A5F5A73 DOT 1070708 AT cygwin DOT com> <87ocrky34v DOT fsf AT gmail DOT com> <4A5F5EDD DOT 4080001 AT cygwin DOT com> <87k528y1nb DOT fsf AT gmail DOT com> <f60fe000907161045m253e951dydef46f464f3a3c95 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (windows-nt)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

"Mark J. Reed" <markjreed AT gmail DOT com> writes:

> On Thu, Jul 16, 2009 at 1:32 PM, Paul Mead wrote:
>> If not, how do I get it to use a different editor? I already have
>> EDITOR=/bin/vim in my .profile and have tried /bin/vim.exe in case that
>> was the problem.
>
> A couple quick things to check:
>
> 1. Make sure the EDITOR variable is exported.  Just setting it locally
> in bash won't affect crontab.
> 2. Make sure VISUAL isn't set differently; it overrides EDITOR for some apps.

Thanks Mark, I was fiddling around and found the setting in the batch
file which runs rxvt. I'm learning a huge amount about my installation
here.

So I've managed to falteringly edit my crontab using vim (doesn't feel
right and I made loads of mistakes, so I've got to find out how to get
emacs working instead) and I'm waiting to see if my test script runs at
the allotted time.

Thanks all for your help.

Paul


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019