delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/20/21:28: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://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, 20 Jan 2005 21:28:01 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: cron problems with windows 2003 server
Message-ID: <20050121022801.GA3772@Compaq>
References: <41F06187 DOT 5050104 AT hotmail DOT com>
Mime-Version: 1.0
In-Reply-To: <41F06187.5050104@hotmail.com>
User-Agent: Mutt/1.4.1i

On Thu, Jan 20, 2005 at 05:57:27PM -0800, Jay Patel wrote:
> CYGWIN_NT-5.2 hal 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown 
> unknown Cygwin
> 
> Logged in as Administrator I have installed the cron service with:
> cygrunsrv -I cron -p /usr/sbin/cron -a '-D' -e CYGWIN="tty ntsec 
> binmode" -d "CYGWIN cron"
> 
> The process is running, but my cron jobs for Administrator are not being 
> run. 
> 
> I have changed the group for /var/run and /etc/cron.d to 18 (SYSTEM) and 
> both directories have 1777 permissions.  I also have setup a simple test 
> to run every minute to see if it's working:
> 
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/home/Administrator/test.txt installed on Thu Jan 20 17:44:39 2005)
> # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> * * * * * /usr/bin/date >> /home/Administrator/test.log
> 
> I'm guessing it's a permissions problem or some Windows user related 
> issue.  Any help in figuring this out is appreciated.  I have attached 
> the cygcheck results as requested by the cron_diagnose.sh script I've 
> been using to figure out what's going on.  Thanks.
 
Yes, and a privilege issue. 

There is now a cron-config script that should do the right thing, although
it has not been tested on Win2003...
Please try it and report any issues.

Pierre

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