delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/20/09:56:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 20 Jul 2001 15:50:42 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: Cygwin Maillist <cygwin AT cygwin DOT com>
Subject: Re: cron ignores my settings
Message-ID: <20010720155042.E730@cygbert.vinschen.de>
Mail-Followup-To: Cygwin Maillist <cygwin AT cygwin DOT com>
References: <OF09063CA6 DOT 6EF09428-ON85256A8F DOT 00467E9A AT ingerrand DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <OF09063CA6.6EF09428-ON85256A8F.00467E9A@ingerrand.com>; from Devin_McRorie@ingersoll-rand.com on Fri, Jul 20, 2001 at 08:54:12AM -0400

On Fri, Jul 20, 2001 at 08:54:12AM -0400, Devin McRorie wrote:
> 
> I'm having a devil of a time getting cron to do anything under cygwin.  Is
> there a way to do diagnostics, or see cron error info or check how cron is
> setup to figure out why it isn't working?
> 
> I am logged in as Administrator on a Windows 2000 machine.  I use crontab
> -e to put in a task.  The task is:
> 
> 40 08 * * * /u/srcmail/sh/runmc
> 
> Of course the header information is all about not editing the crontab file
> directly.  I left that out since we've all seen it.  I've even tried
> setting the runmc script with chmod +x which doesn't seem to do anything as
> ls still shows it has no execute privilege.   Please note that the runmc
> script does execute and work properly when I call it manually!  So the
> problem is probably with cron or the cygwin setup.
> 
> I really appreciate your help!

Perhaps cron isn't able to switch user context. Check both,
your /etc/passwd and /etc/group files, use mkpasswd and mkgroup
to regenerate them if needed. Try using the latest developer
snapshot of Cygwin.

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
Bug reporting:         http://cygwin.com/bugs.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