.. or just killing running openvas processes, but it's a bit brutal way to stop openvas..
Eero 2016-10-07 11:57 GMT+03:00 Fábio Fernandes <[email protected]>: > You need to stop the task then start it. I think there is no direct way to > do that because stopping a task takes some time. I think the simplest way > is to create a small script that starts by sending the stop command then > waits for the state of the task to be stopped. > > Fabio. > > No dia 07/10/2016, às 09:28, Shreyas M R <[email protected]> escreveu: > > Hi, > I have tried both before and it didnt yield any value for me. > > I'm getting bogus command, status=400 > > regards, > Shreyas > > > > [image: --] > > Shreyas M R > [image: http://]about.me/shreyasmrs > <http://about.me/shreyasmrs?promo=email_sig> > > > On Fri, Oct 7, 2016 at 1:18 PM, Gaurav Sharma <[email protected]> wrote: > >> There are 2 things you can do >> >> Restart - Start again and Resume - start from point of pause. >> >> omp -u <userID> -w <password> --xml='<start_task task_id="taskid"/>' >> >> omp -u <userID> -w <password> --start-task '<task-id> >> >> Regards, >> Gaurav >> >> >> On Fri, Oct 7, 2016 at 12:30 PM, Shreyas M R <[email protected]> >> wrote: >> >>> Hi, >>> >>> I want to know the command to restart omp cli to restart the task either >>> in xml or in omp normal format >>> >>> Thanks and regards, >>> >>> >>> [image: --] >>> >>> Shreyas M R >>> [image: http://]about.me/shreyasmrs >>> <http://about.me/shreyasmrs?promo=email_sig> >>> >>> >>> _______________________________________________ >>> Openvas-discuss mailing list >>> [email protected] >>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/o >>> penvas-discuss >>> >> >> > _______________________________________________ > Openvas-discuss mailing list > [email protected] > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss > > > > _______________________________________________ > Openvas-discuss mailing list > [email protected] > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss >
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
