From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 18:50:11 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 C2E7616A41F for ; Wed, 10 Aug 2005 18:50:11 +0000 (GMT) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80F8443D46 for ; Wed, 10 Aug 2005 18:50:11 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1E2veP-0002CN-1z for freebsd-questions@freebsd.org; Wed, 10 Aug 2005 12:50:10 -0600 Mime-Version: 1.0 (Apple Message framework v733) Content-Transfer-Encoding: 7bit Message-Id: <1E4F1132-964D-4829-BF81-1017750F362B@shire.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD - Questions From: "Chad Leigh -- Shire.Net LLC" Date: Wed, 10 Aug 2005 12:50:04 -0600 X-Mailer: Apple Mail (2.733) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: using Linux aaccli in a cron job 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: Wed, 10 Aug 2005 18:50:11 -0000 Hi I have a 5.4-R system with an Adaptec 2200S. I also have Linux emulation running and the aac_linux kernel module installed and I can run the aaccli program successfully in a terminal window and use it to check status of the RAID controller. However, if I do it from a cron job (same script as I run in a terminal) I get no output. aaccli uses terminal control commands and I suspect it is detecting that it is not connected to a terminal and hence not running. However, I so-far have not been able to get the Cron output to check for errors due to the fact that the mail server rejects it for not having a valid From/Sender and cron does not seem to set a From on its mail or something. Any ideas on how to get this aaccli program to run in a cron job? Adaptec really took a step backwards when they went to this aaccli from the earlier raidutils used with asr devices. The output is cryptic and a pita to work with. Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net