Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2007 14:50:17 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        Cristian KLEIN <cristi@net.utcluj.ro>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portaudit in periodic [SOLVED]
Message-ID:  <476FB919.1080500@netfence.it>
In-Reply-To: <4767185D.6040007@net.utcluj.ro>
References:  <47469D3F.1070207@netfence.it> <474AA3E4.7020807@net.utcluj.ro> <4766EF3D.6030807@netfence.it> <4767185D.6040007@net.utcluj.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
Cristian KLEIN ha scritto:

> But have you tried running these commands from the shell? It is very important
> to check the scripts with the above SHELL & PATH environment. If the above works
> from the shell, I'm pretty much out of ideas too.

Yes, and it did work.

In the end I realized the problem was that I have to use a proxy: from 
the shell portaudit picked up HTTP_PROXY and FTP_PROXY from the 
environment, while it didn't when launched from cron.

Obiously setting up portaudit.conf was the solution.

  bye & Thanks
	av.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?476FB919.1080500>