Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: Cygwin Maillist Subject: Re: cron ignores my settings Message-ID: <20010720155042.E730@cygbert.vinschen.de> Mail-Followup-To: Cygwin Maillist References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; 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/