Try to renew the certificate less often, related to #223
This commit is contained in:
@@ -44,7 +44,7 @@ def certbot_install(domain):
|
|||||||
|
|
||||||
|
|
||||||
@scheduler.scheduled_job('date')
|
@scheduler.scheduled_job('date')
|
||||||
@scheduler.scheduled_job('cron', hour=2, minute=0)
|
@scheduler.scheduled_job('cron', hour=96, minute=0)
|
||||||
def generate_cert():
|
def generate_cert():
|
||||||
print("Generating TLS certificates using Certbot")
|
print("Generating TLS certificates using Certbot")
|
||||||
hostname = app.config["HOSTNAME"]
|
hostname = app.config["HOSTNAME"]
|
||||||
|
|||||||
Reference in New Issue
Block a user