delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/16/16:37:13

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: cron issue
Date: Tue, 16 May 2006 16:35:03 -0400
Message-ID: <C874DBE9D30B584587F8CD0EC34DA8BE018CB8ED@EX00.idirect.net>
From: "Harig, Mark" <maharig AT idirect DOT net>
To: "Davies, Roger" <Roger DOT Davies AT swiftbrands DOT com>, <npereira AT videotron DOT ca>,
<cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k4GKb71A021589

1. What command sequence did you use to start the
   cron service on your computer?  (In general, what
   commands did you use to set up package X?  Or, what
   commands did you run prior to encountering a problem?)

   Here is what I am using to start my cron service.

   cygrunsrv --install cron --shutdown \
    --path /usr/sbin/cron --args "-D" \
    --disp "Cygwin cron" --desc "Cygwin vixie-cron service" \
    --user sshd_server --passwd your-fine-password;

   I am running Cygwin on Windows 2003, so the 
   'sshd_user'/'password' is required for my computer.
   I think that this is *not* required for Windows XP.
   In fact, you may not have set up an ssh service yet.

>
> I opted for exim instead of ssmtp, which I presume is OK.
>

2. To quote the README:

   "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/bin/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)."

    The README has a typo, above.  "/usr/bin/sendmail" should read
    "/usr/sbin/sendmail".  Confirm that /usr/sbin/sendmail is a
    symbolic link that points to your Cygwin MTA.

---

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