delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/10/23:27:32

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: Yt73yMgVM1mXCFypoWmFaR8Rr7ybOlQ0l1FvuIjICQYmeI6ZpXUUMuJjwWf_LxOa8CI4W8bBCSZiShfIzHGvlIZuoovdESYXNQn0y4qOcLy_XRXqDOw-
Date: Thu, 10 Jan 2008 20:26:48 -0800 (PST)
From: Saurabh Tendulkar <gillette206 AT yahoo DOT com>
Subject: cron does not work: no error message
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <135415.95314.qm@web51111.mail.re2.yahoo.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

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.

Any thoughts? Thank you.

saurabh


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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