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:
commit
6878440e6b
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user