diff --git a/server.settings b/server.settings index 2bb6a5c..fb097fd 100644 --- a/server.settings +++ b/server.settings @@ -13,14 +13,14 @@ purple="\033[0;35m" nocolor="\033[0m" # backup stuff -newhourly=$(date +"%H"-00) -oldhourly=$(date -d "-23 hours" +"%H-00") +newhourly=$(date +"%H:00") +oldhourly=$(date -d "-23 hours" +"%H:00") newdaily=$(date +"%Y-%m-%d") olddaily=$(date -d "-32 days" +"%Y-%m-%d") -newweekly=$(date +"%U") -oldweekly=$(date -d "-12 weeks" +"%U") -newmonthly=$(date +"%m") -odlmonthly=$(date -d "-6 months" +"%m") +newweekly=$(date +"week-%U") +oldweekly=$(date -d "-12 weeks" +"week-%U") +newmonthly=$(date +"%B") +odlmonthly=$(date -d "-6 months" +"%B") # logfiles screenlog="screen.log"