www.delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <435C1110.2050006@cygwin.com> |
Date: | Sun, 23 Oct 2005 18:39:12 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0 |
MIME-Version: | 1.0 |
To: | "CWS Informatics [Sas]" <scoop AT EC DOT GC DOT CA> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Cron Problems with Cygwin |
References: | <531248B98F74D511B1BA00508BC24BC8014FD825 AT sr-sas-msc DOT prairie DOT int DOT ec DOT gc DOT ca> |
In-Reply-To: | <531248B98F74D511B1BA00508BC24BC8014FD825@sr-sas-msc.prairie.int.ec.gc.ca> |
CWS Informatics [Sas] wrote: > I am having trouble getting the cron to run properly under Windows 2000 > and XP with cygwin. > > I have searched through several threads on the mailing list, including > these most relevant ones: > The solutions did not overly work, although they did help me progress a > little bit. > > http://www.cygwin.com/ml/cygwin/2001-12/msg01123.html > http://www.mail-archive.com/cygwin AT cygwin DOT com/msg29278.html > http://www.cygwin.com/ml/cygwin/2003-09/msg01855.html > http://www.cygwin.com/ml/cygwin/2003-09/msg00803.html > > The service appears to install and start with no problems. > The crontab files are correct and the cron service is running my tasks > as I had set them. For example, I have a task set to run eveyr 5 > minutes, and I see an event in the event viewer every 5 minutes saying > "CMD (/home/test/test)" as part of it; this is indeed the what I was > trying to run every 5 minutes (just a test). > However, nothing happens. The command is supposed to be a script that > does a bunch of other stuff (for testing it simply append echoes the > time to a file), but it never happens. If I run the script just from the > command line it works fine. > > The events are running as SYSTEM at least the event viewer shows them as > SYSTEM. > All associated cron files are owned by system. > I have tried changing the permissions and modes of some of the files as > mentioned in the above threads - no difference. > > The full text of the event log entry for the task being run 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 3816 : (scoop) CMD > (/home/test/test). > > I would appreciate any insight into what may or may not be working. Please read and follow the problem reporting guidelines found at: > Problem reports: http://cygwin.com/problems.html Configuration information and details of what you're doing would also be helpful. You may find more info in '/var/log/cron'. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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 |