From owner-freebsd-questions Wed Aug 29 16:13:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 5C53937B407 for ; Wed, 29 Aug 2001 16:13:46 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f7TNDqe19222; Wed, 29 Aug 2001 19:13:52 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Wed, 29 Aug 2001 19:13:52 -0400 (EDT) From: Joe Clarke To: Dave VanAuken Cc: Subject: Re: Alarm clock ? In-Reply-To: Message-ID: <20010829191112.E17785-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I know I use this feature in Perl to do timeouts with SIGALRM. Basically, you wrap a block of code around calls to alarm(). If the code does not return in the alotted amount of time, a SIGALRM is thrown. If the code doesn't catch it, the program usually dies with the message "Alarm clock". So, to make a long story short, this is probably a script timing out. If that is the case, and you don't want to see these messages anymore, create a handler for SIGALRM. Joe Clarke On Wed, 29 Aug 2001, Dave VanAuken wrote: > We have a slew of scripts and cron entries doing various tasks.. recently have > been tracking the occasioal mail from cron on a server... mail reads simply > > Alarm clock > > This is coming from one of our scripts that does some ping tests on interfaces > among other things... not including wake me up every few hours :) so I don't > know what the Alarm clock email is for. > > Insight? > > Dave > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message