delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/03/14:36:15

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: Tue, 3 Jun 2003 20:34:28 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Slight patch for Cron
Message-ID: <20030603183428.GM875@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0306031823510 DOT 12217-100000 AT localhost DOT localdomain> <Pine DOT LNX DOT 4 DOT 44 DOT 0306031843140 DOT 13497-200000 AT localhost DOT localdomain>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.44.0306031843140.13497-200000@localhost.localdomain>
User-Agent: Mutt/1.4.1i

On Tue, Jun 03, 2003 at 06:44:19PM +0200, Ronald Landheer-Cieslak wrote:
> On Tue, 3 Jun 2003, Ronald Landheer-Cieslak wrote:
> > On Tue, 3 Jun 2003, Corinna Vinschen wrote:
> > > On Tue, Jun 03, 2003 at 10:31:05AM +0200, Ronald Landheer-Cieslak wrote:
> > > > I've "developed" an insignificant patch to cron (attached) that makes
> > > > cron detach from the console before forking out (under Cygwin only).
> > > > The patch is against the current release's source and WFM.
> > > Did you try a recent developers snapshot?  This should be accomplished
> > > by the setsid call in the child (right after fork).
> > Assuming you mean a Cygwin snapshot, I hadn't though it was a Cygwin 
> > problem so I haven't tried a snapshot, no, but come to think of it, the 
> > daemonizing cron does should detach it from the console ... 
> > 
> > (running chin ... lol ... slap forehead)
> > 
> > I'll reinstall the unpatched cron, download the snapshot and give it a go. 
> > I'll let you know.
> Nope..
> 
> I've just rebooted with the latest snapshot and have a cron window hanging 
> around. Cygcheck output is attached..

Does it help to set CYGWIN=notty before starting cron?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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