Files
wsinfra-IT/NetBackup/Get-Error-4287-IT.php
2026-03-30 11:51:52 +02:00

13 lines
494 B
PHP

<?php
// Web-Service Common
include $_SERVER['DOCUMENT_ROOT'] . "/include/all.php";
$rc=999;$stdout="?";$actor=$_SERVER['COMPUTERNAME'];$done=0;
$SourceUser = $json['source'] ?? $_SERVER['CURRENTUSER'] ?? null;
// Main
$list = Invoke_Entry01("SELECT distinct(server), policy FROM `infra`.`nb_jobs_full` where status = 4287 and server not like '%vmh%' and policy like '%vmh-%'");
$output = json_encode($list, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
echo $output;
?>