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:
parent
afa9362b27
commit
7a7b0fea37
@ -90,7 +90,7 @@ def setup_crontab():
|
||||
system_crontab = CronTab(user='root')
|
||||
if job_command not in str(system_crontab):
|
||||
job = system_crontab.new(command=job_command, comment="Renew lets-encrypt every month")
|
||||
job.day.on(1)
|
||||
job.every(1).day()
|
||||
system_crontab.write()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user