Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Fri, 28 Jan 2005 16:25:32 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: pierre DOT humblet AT ieee DOT org cc: cygwin AT cygwin DOT com Subject: Re: Cron problem on Windows 2003 In-Reply-To: <41FA9B87.3FB15A8E@phumblet.no-ip.org> Message-ID: References: <20050128193034 DOT GA883053 AT Worldnet> <41FA9B87 DOT 3FB15A8E AT phumblet DOT no-ip DOT 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/