From owner-freebsd-questions@FreeBSD.ORG Fri Nov 11 01:33:59 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D9C816A41F for ; Fri, 11 Nov 2005 01:33:59 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB71443D45 for ; Fri, 11 Nov 2005 01:33:57 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EaNmG-00021w-5U for freebsd-questions@freebsd.org; Fri, 11 Nov 2005 02:32:28 +0100 Received: from ip68-98-196-244.mc.at.cox.net ([68.98.196.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Nov 2005 02:32:28 +0100 Received: from jvk-list by ip68-98-196-244.mc.at.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Nov 2005 02:32:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Joe Kraft Date: Thu, 10 Nov 2005 20:29:40 -0500 Lines: 13 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-98-196-244.mc.at.cox.net User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Sender: news Subject: Dealing with ipcheck output X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 01:33:59 -0000 I'm running ipcheck as a cron job, it runs fine and seems to keep my address updated with dyndns.com but I'm trying to figure out how to deal with the e-mails I get from cron. I would prefer to not get the ones that don't show anything abnormal, but keep the ones that show something else like a change in IP, or a failure. I don't know python at all, so I don't understand where the return comes from, but it outputs a '0' on the first line and a set of empty brackets '[]' on the second line. Joe