Update nodemgmt-scripts.sh

This commit is contained in:
2023-08-24 20:44:53 -05:00
parent 20d606ac94
commit 58f4a518df

View File

@@ -588,7 +588,7 @@ BACKUP_OFFSITEPFSENSE(){
[ "${i}" == "${a}" ] && keep=1
done;
if [ $keep == 0 ]; then
[ "$(date +%u)" == "1" ] && mv ${i} ${i}-W || rm -rf ${i}
[ "$(date +%u)" == "4" ] && mv ${i} ${i}-W || rm -rf ${i}
fi
done