On branch main

new file:   documentation/LLM_Information.md
	modified:   main_dc/certbot/scripts/checkRenewCerts.sh
renew checkRenewCerts replace line with expirY_unix parse date formate
This commit is contained in:
2026-05-02 09:15:43 +05:00
parent d9a4a579b7
commit bffdf0ec6c
2 changed files with 55 additions and 1 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ check_local_cert() {
fi
# Преобразуем дату истечения в UNIX-время
expiry_unix=$(date -d "$expiry_date" +%s)
# expiry_unix=$(date -d "$expiry_date" +%s)
expiry_unix=$(date -D "%b %d %H:%M:%S %Y %Z" -d "$expiry_date" +%s 2>/dev/null)
# Текущая дата в UNIX-времени
current_unix=$(date +%s)