From 7a7b0fea3786c1c4009fb580e96ae16c84f69cb3 Mon Sep 17 00:00:00 2001 From: Abhishek Balam Date: Mon, 7 Sep 2020 18:58:24 +0530 Subject: [PATCH] fix: update letsencrypt renew cron frequency --- bench/config/lets_encrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/config/lets_encrypt.py b/bench/config/lets_encrypt.py index 5f0396b9..872cd129 100755 --- a/bench/config/lets_encrypt.py +++ b/bench/config/lets_encrypt.py @@ -90,7 +90,7 @@ def setup_crontab(): system_crontab = CronTab(user='root') if job_command not in str(system_crontab): job = system_crontab.new(command=job_command, comment="Renew lets-encrypt every month") - job.day.on(1) + job.every(1).day() system_crontab.write()