mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
[fix] crontab entry for lets-encrypt
This commit is contained in:
parent
44013a435f
commit
03f6f3ff03
@ -62,7 +62,7 @@ def setup_crontab():
|
|||||||
user_crontab = CronTab(user=True)
|
user_crontab = CronTab(user=True)
|
||||||
if job_command not in str(user_crontab):
|
if job_command not in str(user_crontab):
|
||||||
job = user_crontab.new(command=job_command, comment="Renew lets-encrypt every month")
|
job = user_crontab.new(command=job_command, comment="Renew lets-encrypt every month")
|
||||||
job.month.every(1)
|
job.every().month()
|
||||||
job.enable()
|
job.enable()
|
||||||
user_crontab.write()
|
user_crontab.write()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user