mirror of
https://github.com/bashclub/miyagi-pbs-zfs.git
synced 2025-12-06 06:28:43 +00:00
Update pbs-zfs-daily.sh
Find Prunejob only on Backup yes
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user