Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 28 Jan 2005 16:25:32 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: pierre.humblet@ieee.org
cc: cygwin@cygwin.com
Subject: Re: Cron problem on Windows 2003
In-Reply-To: <41FA9B87.3FB15A8E@phumblet.no-ip.org>
Message-ID: <Pine.GSO.4.61.0501281621270.4189@slinky.cs.nyu.edu>
References: <E9C5F057A783F94E9868010ACFDB3AA401D6420C@srvpadovaad.cerved.com> <Pine.GSO.4.61.0501281409510.1866@slinky.cs.nyu.edu> <20050128193034.GA883053@Worldnet> <Pine.GSO.4.61.0501281430290.1866@slinky.cs.nyu.edu> <41FA9B87.3FB15A8E@phumblet.no-ip.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 28 Jan 2005, Pierre A. Humblet wrote:

> Igor Pechtchanski wrote:
>
> > Right.  I'm wondering whether the above section from the openssh.README
> > should be copied to /usr/share/doc/Cygwin/cron.README?  The cron.README
> > could also use some more info about what the cron-config script, similar
> > to that in the openssh.README.
>
> Right. Comments about the following blurb?
>
> Pierre
>
> This is the Cygwin port of Paul Vixie's cron-3.01.
> The script /usr/bin/cron-config can be used to install
> cron as a service on all Windows platforms supported by Cygwin.
>
> Note that on NT systems, cron relies on the Cygwin feature to be able
> to switch the user context without password. On NT/W2K, it can
> run under SYSTEM account, while on Win2003 it must run under an
> account with special privileges.
> In both those cases, the child processes may not have access to
> net shares. An alternative is to run the service under your own
> account. This gives access to net shares but does not allow to
> run the crontab of other users.
>
> Important:  Make sure you have a Cygwin MTA (e. g. either exim or ssmtp)
> installed and configured!  Cron tries to access the MTA by calling
> /usr/sbin/sendmail.  On Cygwin this is usually a symlink pointing to the
> appropriate binary.  This symlink gets created by the MTA's configuration
> scripts (e. g. /usr/bin/exim-config or /usr/bin/ssmtp-config).

I don't know, I kind of prefer the way it's phrased in the openssh.README
(i.e., a special note about the user privileges in Win2003, rather than a
common description).  That README also has a nice step-by-step description
of what sshd-host-config does, so that the users have the option to do the
installation steps manually (or verify that the needed things were
created).  But hey, I don't use cron extensively, and I certainly can't
speak for new users...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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

