delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/11/10:02:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 11 Jan 2008 10:00:12 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: cron does not work: no error message
To: "Saurabh Tendulkar" <gillette206 AT yahoo DOT com>, <cygwin AT cygwin DOT com>
Message-id: <00b201c85462$ac1ab9e0$6c0410ac@wirelessworld.airvananet.com>
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
References: <135415 DOT 95314 DOT qm AT web51111 DOT mail DOT re2 DOT yahoo DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

----- Original Message ----- 
From: "Saurabh Tendulkar" <>
To: <cygwin>
Sent: Thursday, January 10, 2008 11:26 PM
Subject: cron does not work: no error message


| Hi,
| 
| I upgraded my cygwin recently to the latest cron (4.1-6), and it seems to have
| stopped working. I did a cygrunsrv -E cron when the setup asked me to kill
| cron, and cygrunsrv -S cron to start it after the upgrade finished.
| 
| Now the application log shows that /usr/sbin/cron actually runs, but instead of
| running the command from the crontab, it simply does a tabs reload. The
| following are relevant lines from cygbug.txt, the first one shows an instance
| of the old cron, the second one an instance of the new one.
| 2008/01/10 00:21:01 [SYSTEM] /usr/sbin/cron: PID 1412: (HP_Owner) CMD (ls)
| ...
| 2008/01/10 20:50:01 [SYSTEM] /usr/sbin/cron: PID 3104: (HP_Owner) RELOAD
| (tabs/HP_Owner)
| 
| The only thing that jumped out at me was that /var/cron/cron.log and
| /var/run/cron.pid have user SYSTEM and group root, and afaict these are the
| only files in the cygwin space with that user+group pair. Is this right? Also
| the cron.log file is empty.

Did you run the new /usr/bin/cron-config  ? It will check that various settings are
set correctly. If the problem persists, send me cygbug.txt.

Pierre


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