fix days for three months

This commit is contained in:
deityhub 2021-12-21 12:13:42 +01:00
parent b82c923598
commit 57b4d1f5d1

View File

@ -25,7 +25,7 @@ reset=$(tput sgr 0)
# # Delete all the monitor logs before 3 days before taking the backup.
THREE_DAYS_AGO=$(date -d "-3 days" +"%Y-%m-%d")
THREE_MONTHS_AGO=$(date -d "-120 days" +"%Y-%m-%d")
THREE_MONTHS_AGO=$(date -d "-90 days" +"%Y-%m-%d")
SIX_MONTHS_AGO=$(date -d "-180 days" +"%Y-%m-%d")
function HELP() {