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