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 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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