This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cron problem on Windows 2003

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...
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]