On Mon, Dec 26, 2005 at 11:49:27PM -0500, Brahmam Lv wrote: > Thanks for your reply. Problem iam facing is everytime i run a scan > using # Nessus -V -T html_graph localhost 1241 username password > report.txt result <dir> > > Its creating a static dir with name result. If i schedule to run as cron > job, above command unable to overwrite existing dir, and its coming out > of scan.
Instead of using a static name in the crontab entry, use one based on, say, the date; eg, nessus ... results-`date +\%Y/\%m/\%d` This would output results in a directory named "results-2005-12-27" if the scans were run today. [NB: the escapes are needed in the crontab entry as otherwise percent-signs are translated into newlines.] Refer to the manpage for the date command if you want to use another format or need to include the time scans were run. George -- [EMAIL PROTECTED] _______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
