Try to renew the certificate less often, related to #223

master
kaiyou 7 years ago
parent 2bfe11c1a4
commit dc86a3feec

@ -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"]

Loading…
Cancel
Save