delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/16/18:13:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Will Parsons <oudeis AT nodomain DOT invalid>
Subject: Re: Trouble creating crontab
Date: Thu, 16 Jul 2009 22:13:29 +0000 (UTC)
Lines: 37
Message-ID: <slrnh5v9g9.1bph.oudeis@isis.thalatta.eme>
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> <slrnh5v7vl DOT 1bph DOT oudeis AT isis DOT thalatta DOT eme> <20090716215248 DOT GA28657 AT ednor DOT casa DOT cgf DOT cx>
Reply-To: ellenophilos AT yahoo DOT com
User-Agent: slrn/0.9.8.1 (FreeBSD)
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

Christopher Faylor wrote:
> On Thu, Jul 16, 2009 at 09:47:33PM +0000, Will Parsons wrote:
>>Paul Mead wrote:
>>>"Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> writes:
>>>
>>>>Not necessarily.
>>>>
>>>><http://cygwin.com/1.7/cygwin-ug-net/ntsec.html#ntsec-ids>
>>>>
>>>>You should be more successful with a Cygwin-enabled editor, if you'd
>>>>prefer not to track down the permission issues with NT Emacs and
>>>>Cygwin.
>>>
>>>I'd love to use whatever works, I've got no problem using Cygwin emacs
>>>or Vim but for some reason, crontab -e insists on firing up a new
>>>instance of NT Emacs.
>>>
>>>Is there no way of just creating the file without using crontab -e?
>>
>>Sure.  I've been editing crontabs for years and have never once used
>>crontab -e.  What I do:
>>
>>crontab -l > crontab.lst edit crontab.lst crontab crontab.lst
>
> I always just use the toggle switches on the front panel of my computer.
>
> Much easier.

Was that really necessary?  The procedure I use may very well be easier
than figuring out the right thing to do to invoke one's editor of choice
with the -e option.  In my case, I prefer to explicitly to export the
crontab table into a file so that I can put it into revision control.  At
any rate, answering an explicit question from the OP hardly deserves a
display of sarcasm.

-- 
Will


--
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