This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: cron jobs don't run
- To: vamsee@vamsee.com, cygwin@sourceware.cygnus.com
- Subject: Re: cron jobs don't run
- From: Corinna Vinschen <corinna.vinschen@cityweb.de>
- Date: Thu, 29 Apr 1999 23:13:28 +0200
- References: <19990429030317.28409.rocketmail@web122.yahoomail.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@sourceware.cygnus.com