delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/27/09:21:46

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
Date: Thu, 27 May 2004 14:19:52 +0100 (BST)
From: Vince Hoffman <jhary AT unsane DOT co DOT uk>
To: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: cron dying in Windows but not in Cygwin
In-Reply-To: <15uzhz9jogd14.dlg@thorstenkampe.de>
Message-ID: <20040527141448.M80074@unsane.co.uk>
References: <1kaz6f74w8ele DOT dlg AT thorstenkampe DOT de> <NUTMEGQWlD3TQeNKzfk00000089 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <15uzhz9jogd14 DOT dlg AT thorstenkampe DOT de>
MIME-Version: 1.0


On Thu, 27 May 2004, Thorsten Kampe wrote:

> * Dave Korn (2004-05-27 11:26 +0100)
> >> * Robert Pollard (2004-05-26 18:33 +0100)
> >>> I have a bit of a problem where when we launch cron from
> >> the command
> >>> line after a few days it dies in Windows but is still visible in
> >>> Cygwin.
> >>
> >> Beg your pardon? Your sentence doesn't make sense to me.
> >>
> >>> Currently, I run a script that launches /usr/sbin/cron.  This
> >>> script only launches cron if it isn't running.
> >>>
> >>> Does it have something to do with not launching from an rc file?
> >>
> >> Excuse me? rc files are /configuration/ files...
> >
> >   Have you ever actually *read* one?  They're shell scripts.
>
> You mean the runlevel scripts in rc.d? They're neither part of the
> default Cygwin nor of cron installation so I didn't think of these.
> /I/ meant "rc files" like bashrc, zshrc, etc.
>
> This misunderstanding proves only two things:
>
> 1. People who are retentive with facts and descriptions (like RP)
> provoke misunderstandings inevitably.
>
> 2. If RP had even a slight understanding of Cygwin, he would have
> known that no "runlevel script" is required to start a "Cygwin
> service/daemon" (because there are no Cygwin services or daemons; just
> Windows services.)
>
Umm hate to throw this in but....
you can start sshd (and presumably cron although i've never tried,) as
daemons rather than services
if you install and use the sysv init package and install it as a service
and setup your /etc/init.d scripts correctly.
this is how i run sshd and xinet on my laptop. however it takes a bit more
work for no great gain.

just muddying the waters, sorry.

Vince

> But I'm not even sure that RP read the cron readme so 2. may be
> pointless.
>
>
> Thorsten
>
>
> --
> 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/
>

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