From 7e5a35660aadb1c4aa571aa58c5250ca9b992d32 Mon Sep 17 00:00:00 2001 From: Jack Murray Date: Sat, 14 Aug 2021 14:04:02 +0100 Subject: [PATCH] Change letsencrypt timer from 1h --> 1 day There's no need to be calling certbot so frequently --- core/nginx/letsencrypt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/nginx/letsencrypt.py b/core/nginx/letsencrypt.py index 3fe8ea92..b8a0ed2e 100755 --- a/core/nginx/letsencrypt.py +++ b/core/nginx/letsencrypt.py @@ -22,8 +22,8 @@ command = [ # Wait for nginx to start time.sleep(5) -# Run certbot every hour +# Run certbot every day while True: subprocess.call(command) - time.sleep(3600) + time.sleep(86400)