On Wed, 2014-07-09 at 16:01 +0000, Jack Harvey wrote:
> I am trying to run /usr/sbin/openvas-nvt-sync via cron job (root), but
> it fails with this - Error: openvassd is not in the path, could not
> determine NVT directory.
> 
> If I run from CLI, it runs successfully.  Running on CentOS 6.x.  Any
> guidance is really appreciated.
> 
>  
> 
> Jack Harvey  CISSP
> 
> Synnex Corporation
> 
> 864-349-4939
> 
Your path is different between your settings, and cron's settings. You
would want to make sure the directory that openvassd is in, is also in
cron's path. man 5 crontab should give you everything you need to alter
the path on your system.

-- 
William Scott Lockwood III
GWB2009033817
AMC Technology / GWB BoD


_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to