From 58f4a518dfc042a1624165ef43fa2971ff1aeef0 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 24 Aug 2023 20:44:53 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 787587ed..04bf6ce9 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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