delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/14/03:06:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 12 Sep 2002 20:57:35 +0100
From: Raphael <raphael AT oninet DOT pt>
To: cygwin AT cygwin DOT com
Subject: Re: Crontab problems
Message-ID: <20020912195735.GC1448@TOOS>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020911204824 DOT 7327 DOT qmail AT web21008 DOT mail DOT yahoo DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0209111748350 DOT 1269-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0209111748350.1269-100000@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4i
X-Operating-System: CYGWIN_NT-5.0 TOOS 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown
X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam.

--tqI+Z3u+9OQ7kwn0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 11, 2002 at 05:53:24PM -0400, Igor Pechtchanski wrote:
> On Wed, 11 Sep 2002, Nicholas Wourms wrote:
>=20
> > --- Raphael <raphael AT oninet DOT pt> wrote:
> > > Hi guys/girls~,
> > >
> > > I'm having a bit of a problem with my windows based editor. Using
> > > it with
> > > Pine or Mutt is not problem. Using it with Crontab -e gives a
> > > sharing
> > > violation error when I want to save the new file.
> > >
> > > Is this a crontab problem?
> >
> > Use vi.exe
>=20
> Most windows editors adopt a remove-and-recreate (or rename-and-recreate)
> policy.  This basically means that they will try to remove or rename the
> crontab-created file (which will fail, silently), and then create that
> file over (which will fail since crontab has it open).  This is where your
> sharing violation comes from.

Ok, I can understand that explenation.

> I've verified this with notepad and
> editpad, but I'm sure most of the others will behave similarly.  Thus,
> looks like using a cygwin-based editor is your only option, unless you can
> find a windows one that writes the files in-place.  If this creates one
> more convert for the vi camp, all the better. ;-)

Don't think so, why should Cron not be able to act like Pine or Mutt. I=20
guess the latter start opening the file in shared mode?

Kind regards

Raphael.

--tqI+Z3u+9OQ7kwn0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Cygwin32)

iD8DBQE9gPGuWEtPuWPcngsRAmRRAJ9cuJ3oQ3f+T2wzAo0cJqt4QhAPmACgkT9r
WnbxFOQssAXIQgWjK7P0RbM=
=Dbgw
-----END PGP SIGNATURE-----

--tqI+Z3u+9OQ7kwn0--
---
[This E-mail scanned for viruses by Declude Virus]

- Raw text -


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