def METHOD_NAME(self):
    asset_ids = self.execution.snapshot['assets']
    gateways = Gateway.objects.filter(id__in=asset_ids)
    self.execution.date_start = timezone.now()
    self.before_runner_start()
    for gateway in gateways:
        accounts = self.get_accounts(gateway)
        for account in accounts:
            ok, e = self.execute_task(gateway, account)
            if ok:
                self.on_host_success(gateway, account)
            else:
                self.on_host_error(gateway, account, e)
            print('\n')
    self.execution.status = 'success'
    self.execution.date_finished = timezone.now()
    self.execution.save()