We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177fd84 commit 22f9b75Copy full SHA for 22f9b75
src/entrypoint.sh
@@ -52,7 +52,8 @@ run_certbot
52
53
# Infinite loop to keep the container running and periodically check for renewals
54
while true; do
55
- echo "Next certificate renewal check will be in ${RENEWAL_INTERVAL} seconds"
+ next_run=$(date -d "@$(($(date +%s) + RENEWAL_INTERVAL))" '+%Y-%m-%d %H:%M:%S')
56
+ echo "Next certificate renewal check will be at ${next_run}"
57
sleep "$RENEWAL_INTERVAL"
58
if ! run_certbot; then
59
echo "Error: Certificate renewal failed. Exiting."
0 commit comments