delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/29/20:04:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3728CB78.5885AE44@cityweb.de>
Date: Thu, 29 Apr 1999 23:13:28 +0200
From: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: vamsee AT vamsee DOT com, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: cron jobs don't run
References: <19990429030317 DOT 28409 DOT rocketmail AT web122 DOT yahoomail DOT com>

Hi!

Sorry, I don't have much time at the moment, but I have taken
a look into it and have found, that you have described many
different problems:

> error invoking sexecl: 2

   The error code 2 from sexecl has possibly the reason, that
   you don't have a shell in the /bin directory, named "sh"
   or "sh.exe". If this is the case, please create a /bin directory,
   copy bash to it and name it sh.

> I setup a cron job this evening. .cron.stdout is a
> much larger file (about 623K). It is a binary file and
> when I opened it with vi, it had the following line at

   The binary output in .cron.stdout is a strange behaviour and
   I have seen it today for the first time. It seems to happen
   only in the case of an error while the fork/exec code. I don't
   have a chance, to debug it in the next few weeks. Contributions
   and bug fixes are welcome.

> > I checked $HOME/.* but there are no output files
> > here. Appreciate any ideas on debugging this.
> 
> I noticed that the .cron.stderr and .cron.stdout files
> were getting created all the time in
> /var/cron.

   You haven't set a home directory in your /etc/passwd
   file. cron uses the /var/cron directory, if it can't
   read a home dir from /etc/passwd. Do you have a /etc/passwd
   file? If not, create one by using "mkpasswd".
   The "crontab" behaviour, to take a looong time, may have
   an analogous reason.

Hope, this helps,
Corinna



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019