From owner-freebsd-questions@FreeBSD.ORG Mon Dec 17 21:51:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3024F16A418 for ; Mon, 17 Dec 2007 21:51:11 +0000 (UTC) (envelope-from ml@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.freebsd.org (Postfix) with ESMTP id 7D52B13C458 for ; Mon, 17 Dec 2007 21:51:10 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu ([151.77.240.163]) (authenticated bits=128) by parrot.aev.net (8.14.2/8.13.8) with ESMTP id lBHLqcCj071392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 17 Dec 2007 22:52:44 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.2/8.13.8) with ESMTP id lBHLqC3L074616; Mon, 17 Dec 2007 22:52:13 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <4766EF3D.6030807@netfence.it> Date: Mon, 17 Dec 2007 22:50:53 +0100 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Cristian KLEIN , freebsd-questions@freebsd.org References: <47469D3F.1070207@netfence.it> <474AA3E4.7020807@net.utcluj.ro> In-Reply-To: <474AA3E4.7020807@net.utcluj.ro> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on 212.31.247.179 Cc: Subject: Re: portaudit in periodic 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: Mon, 17 Dec 2007 21:51:11 -0000 Cristian KLEIN ha scritto: > I used to have problem with cron scripts, because cron uses another PATH then > what the script gets if it's run from the shell. Could you try the following > (assuming sh): > > export SHELL=/bin/sh > export PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin > export HOME=/var/log > periodic daily > > Sorry if I reply this late: I tried something similar in crontab and let it test for a while, but nothing changed. I'm really out of ideas here. :-( bye & Thanks av.