diff --git a/bench/config/lets_encrypt.py b/bench/config/lets_encrypt.py index c912e474..a55bc82f 100755 --- a/bench/config/lets_encrypt.py +++ b/bench/config/lets_encrypt.py @@ -62,7 +62,7 @@ def setup_crontab(): user_crontab = CronTab(user=True) if job_command not in str(user_crontab): job = user_crontab.new(command=job_command, comment="Renew lets-encrypt every month") - job.month.every(1) + job.every().month() job.enable() user_crontab.write()