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 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Cron Problems with Cygwin Date: Fri, 21 Oct 2005 11:06:09 -0600 Message-ID: <531248B98F74D511B1BA00508BC24BC8014FD825@sr-sas-msc.prairie.int.ec.gc.ca> From: "CWS Informatics [Sas]" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j9LH6I0v029801 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. Thank you. Chris White -- 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/