update execution in proxmox plugin

This commit is contained in:
alejandro 2024-04-25 14:18:41 +02:00
parent ddd6d6ad8b
commit 7131685be7
1 changed files with 3 additions and 1 deletions
pandora_console/extras/mr

View File

@ -7755,6 +7755,8 @@ ALTER TABLE `tdeployment_hosts` DROP COLUMN `arch`;
UPDATE `trecon_task` SET `field4` = 41121 WHERE `type` = 9;
--Update execution in proxmox discovery plugin
UPDATE `tdiscovery_apps_executions` SET `execution` = ''_exec1_' --conf '_tempfileProxmox_'' WHERE `short_name` = 'pandorafms.proxmox';
SET @short_name = 'pandorafms.proxmox';
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;
UPDATE `tdiscovery_apps_executions` SET `execution` = ''_exec1_' --conf '_tempfileProxmox_'' WHERE `id_app` = @id_app;
COMMIT;