Trigger a script by finished task

Hi there!

We need to make PDF reports and transfer them to some destinations. My approach now is gvm-cli with its get_reports. It works well but how can I trigger it when the task is finished and the report is ready?

This is what alerts are for.


I see that alert can be triggered by status of the task. But I can’t find how alert can trigger my gvm-cli script. It can be done with some transport service like email, web or general TCP. So triggering local script is not an option? Do I need start some network service to get trigger from the alert?