delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/29/13:55:39

X-Spam-Check-By: sourceware.org
Message-ID: <BAY105-F27F35BD933E864A9FDB2DBE9290@phx.gbl>
X-Sender: linq936 AT hotmail DOT com
From: "lin q" <linq936 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Help:Can not edit crontab becuase of vi not found
Date: Thu, 29 Dec 2005 11:55:31 -0700
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hi,
  I just re-installed the latest cygwin to have cron installed. Then i run 
the following command to install the cron service,

        cygrunsrv -I cron -p /usr/sbin/cron -a -D

  After that I run,

        crontab -e

  But I get the following message,

        bash-3.00$ crontab -e
                        no crontab for linq - using an empty one
                        /usr/bin/vi: No such file or directory
                         crontab: "/usr/bin/vi" exited with status 1

  I wonder what the problem is, I can start vi by running, /usr/bin/vi.

  I also tried "export EDITRO=/usr/bin/vi" and "export EDITOR=/usr/bin/vim", 
neither one works.

  Any suggestion?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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

- Raw text -


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