delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: How do I get cron working under Cygwin? |
Date: | Thu, 23 Nov 2006 17:39:13 -0000 |
Message-ID: | <003901c70f26$4a437fe0$a501a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <4565D9FA.8050506@purpleshift.net> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
On 23 November 2006 17:27, PC Support wrote: > The message I am getting from WinXP Event Viewer for Applications is: > > The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot > be found. The local computer may not have the necessary registry > information or message DLL files to display messages from a remote > computer. You may be able to use the /AUXSOURCE= flag to retrieve this > description; see Help and Support for details. The following information > is part of the event: /usr/sbin/cron: PID 9004: (<user>) MAIL (mailed 39 > bytes of output but got status 0x0001 > ). > I have also run cron-config manually. I do not have sendmail installed > but otherwise it reports that there are no problems with the setup. I believe cron fails if it can't mail the output to the user. Take a look at the cron diagnose output: > The owner and the Administrators need > to have ..x permission to /usr/sbin/sendmail. > Here are the current permissions: > (i.e. none, because the file does not exist). > Please change the user and/or group ownership and > permissions of /usr/sbin/sendmail, and then run this script again. > ssmtp and exim are suitable mailers. > > This script did not find any errors in your cron setup. This is perhaps slightly misleading, but technically correct: the problem is not with your cron setup, it is with your mailer setup. > If you are running cron as yourself, > /usr/sbin/sendmail should point to an executable mailer IIUIC, this advice is not optional. Install ssmtp like it suggested and try again. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |