On Wed, Mar 10, 2004 at 05:30:55PM -0500, Jian Hui Wang wrote: > I have some difficulties about nessus automation. My shell scripts > runs perfect under the command line but doesn't work for cron. ... > [EMAIL PROTECTED] log]# cat /nessus/nessus-auto/nessus-autorun.bash > #!/bin/bash > cd /nessus/nessus-auto .. > nessus -V -c .nessusrc -q $HOST $PORT $USR $PWD $IPLIST $NSRFILE
Where is "nessus" located? You don't seem to be setting PATH or calling nessus explicitly from your shell script, so it may be simiply that the nessus client is not found if PATH differs between what cron and your shell use. I'd expect that you'd receive an email from cron saying something like "nessus: command not found". Did you check for that? > Another thing is I found my .nessusrc under /nessus/nessus-auto/ is > added something I don't understand. I guessed it was doned by nessus. Yes, the nessus client creates that file if it doesn't already exist. George -- [EMAIL PROTECTED]
pgp00000.pgp
Description: PGP signature
_______________________________________________ Nessus mailing list [EMAIL PROTECTED] http://mail.nessus.org/mailman/listinfo/nessus
