Subject: Re: Getting error/warning in cron but not on command line
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 06/08/2001 00:36:37
In article <p05100339b745c8cd773c@[165.227.249.18]>,
Paul Hoffman <phoffman@proper.com> wrote:

Hi, it is harmless and fixed already in revision 1.7 of do_command.c.

date: 2001/03/13 17:51:50;  author: wiz;  state: Exp;  lines: +11 -2
Restore default handler for SIG_CHLD before starting grand-children.
Idea by Christos Zoulas. Fixes bin/11778.

christos

>Greetings. I wrote a little Perl script to ping some servers. I run 
>the script from the command line and it generates no output (which is 
>what I expect when the pings are successful). When I run it from 
>cron, every time it runs it mails me a message that looks like:
>
>
>
>Date: Thu, 7 Jun 2001 17:00:01 -0700 (PDT)
>From: root (Cron Daemon)
>To: root
>Subject: Cron <root@208> /usr/local/bin/foo.pl
>
>Can't ignore signal CHLD, forcing to default.
>
>
>What the heck does that mean? How can I suppress it?
>
>--Paul Hoffman