Hi. What is the true way to automatucally update feeds ? For example by cron job.
I have installed openvas9 from repo https://launchpad.net/~mrazavi/+archive/ubuntu/openvas with instrucrions from there. All works fine except automatic feeds update. I tried to use this shell script in cron job: #!/bin/bash greenbone-nvt-sync greenbone-scapdata-sync greenbone-certdata-sync openvasmd --rebuild --progress The problem is that this update script works when i run it by hands but it can break openvas when it runs from cron when openvas does scan job. With this script I can get broken openvas -- openvasmd eats 100% CPU and cannot be stopped by standard way (systemctl stop openvasmd). If I kill this process with 'kill -9' then I get broken openvas. Cannot start new task after that. It breaks some records in openvas databases or so. I did not figure out it and then I need completly re-install openvas to get it working back. I tried to put this script in cron but once I got broken system as described above. I tried to run this script several times when openvas did not scanning and all was fine. Please help how to set up feed updates by cron job safely and not depending on scan tasc is running or not.
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
