Update pbs-zfs-daily.sh

Find Prunejob only on Backup yes
This commit is contained in:
Chriz
2024-04-29 11:33:18 +02:00
committed by GitHub
parent 537eb78d74
commit d2091c1ada

View File

@@ -38,6 +38,7 @@ fi
###
PRUNEJOB=$(ssh $PBSHOST proxmox-backup-manager prune-job list --output-format json-pretty | grep -m 1 "id" | cut -d'"' -f4)
if [ $(date +%u) == $MAINTDAY ]; then
echo "MAINTENANCE"