浏览代码

Change Let's Encrypt certificates renewal to be spread out during the night

Emmanuel Bouthenot 4 年之前
父节点
当前提交
919509fc4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/common/templates/cron/letsencrypt.j2

+ 1 - 1
roles/common/templates/cron/letsencrypt.j2

@@ -10,4 +10,4 @@ SHELL=/bin/sh
 PATH=/bin:/sbin:/usr/bin:/usr/sbin
 MAILTO=root
 
-@daily      root    dehydrated --cron 2>&1 1>/dev/null | grep -v 'WARNING.*Extra configuration directory.*exists, but no configuration found'
+42 0-7 * * *    root    dehydrated --cron 2>&1 1>/dev/null | grep -v 'WARNING.*Extra configuration directory.*exists, but no configuration found'