diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index c4d34ed1..9352d076 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -580,11 +580,11 @@ 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 +%d)" == "01" ] && [ "$(date +%u)" == "1" ]; then + if [ "$(date +%d)" == "04" ] && [ "$(date +%u)" == "1" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-M" ln -s "${newBAKFOLDER}-W" "${newBAKFOLDER}-M" ln -s "${newBAKFOLDER}-D" "${newBAKFOLDER}-M" - elif [ "$(date +%d)" == "01" ]; then + elif [ "$(date +%d)" == "04" ]; then mv ${newBAKFOLDER} "${newBAKFOLDER}-M" ln -s "${newBAKFOLDER}-D" "${newBAKFOLDER}-M" elif [ "$(date +%u)" == "1" ]; then