From e66beea57e348b09b314f5673485747bc0da0c48 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 24 Aug 2023 21:56:40 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 366f5fd2..63b94cc8 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -580,10 +580,10 @@ BACKUP_OFFSITEPFSENSE(){ scp root@10.2.1.1:/cf/conf/conf* ${newBAKFOLDER}/ ssh root@10.2.1.1 rm -f /cf/conf/conf_backup.tar.gz - if [ "$(date +%u)" == "1" ]; then + if [ "$(date +%u)" == "4" ]; then cp -r ${newBAKFOLDER} ${newBAKFOLDER/-D/-W} fi - if [ "$(date +%d)" == "1" ]; then + if [ "$(date +%d)" == "24" ]; then cp -r ${newBAKFOLDER} ${newBAKFOLDER/-D/-M} fi