From e41d85cbc77e917eddbc88134b15720b319754fc Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 24 Aug 2023 20:46:41 -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 aee8c488..9f1f917b 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -589,7 +589,7 @@ BACKUP_OFFSITEPFSENSE(){ done; if [ $keep == 0 ]; then echo ${i} - [ "$(date +%u)" == "4" ] && mv ${i} ${i}-W || rm -rf ${i} + [ "$(date +%u)" == "1" ] && mv ${i} ${i}-W || rm -rf ${i} fi done