mirror of
https://github.com/bashclub/miyagi-pbs-zfs.git
synced 2025-12-06 09:28:44 +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
|
if [ $(date +%u) == $MAINTDAY ]; then
|
||||||
echo "MAINTENANCE"
|
echo "MAINTENANCE"
|
||||||
|
|||||||
Reference in New Issue
Block a user