Date: Tue, 18 Dec 2007 02:46:21 +0200 From: Cristian KLEIN <cristi@net.utcluj.ro> To: Andrea Venturoli <ml@netfence.it> Cc: freebsd-questions@freebsd.org Subject: Re: portaudit in periodic Message-ID: <4767185D.6040007@net.utcluj.ro> In-Reply-To: <4766EF3D.6030807@netfence.it> References: <47469D3F.1070207@netfence.it> <474AA3E4.7020807@net.utcluj.ro> <4766EF3D.6030807@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrea Venturoli wrote: > 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. :-( 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4767185D.6040007>