2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Merge pull request #281 from vjFaLk/cron-fi

[fix] crontab entry for lets-encrypt
This commit is contained in:
Rushabh Mehta 2016-08-01 10:29:39 +05:30 committed by GitHub
commit 6878440e6b

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