2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

fix: update letsencrypt renew cron frequency

This commit is contained in:
Abhishek Balam 2020-09-07 18:58:24 +05:30
parent afa9362b27
commit 7a7b0fea37

View File

@ -90,7 +90,7 @@ def setup_crontab():
system_crontab = CronTab(user='root') system_crontab = CronTab(user='root')
if job_command not in str(system_crontab): if job_command not in str(system_crontab):
job = system_crontab.new(command=job_command, comment="Renew lets-encrypt every month") job = system_crontab.new(command=job_command, comment="Renew lets-encrypt every month")
job.day.on(1) job.every(1).day()
system_crontab.write() system_crontab.write()