2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 00:37:51 +00:00

[fix] crontab entry for lets-encrypt

This commit is contained in:
Valmik Jangla 2016-07-30 14:30:22 -07:00
parent 44013a435f
commit 03f6f3ff03

View File

@ -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()