On Wed, 10 Mar 2004, 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.
Sounds like you are missing some environment variables. but .....
> [EMAIL PROTECTED] log]# cat /nessus/nessus-auto/nessus-autorun.bash
> #!/bin/bash
> cd /nessus/nessus-auto
....
> #0-59 0-23 1-31 1-12 0-7 /usr/local/sbin/nessusd.8
> 30 * * * * bash /nessus/nessus-auto/nessus-autorun.bash
Why call bash explicitly when you use it implicitly as part of the script?
Do you happen to have multiple bash versions?
Hugo.
--
All email sent to me is bound to the rules described on my homepage.
[EMAIL PROTECTED] http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of sysadmins,
for they are subtle and quick to anger.
_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus