Let’s Encrypt的certbot renew不在crontab设置中

问答中心分类: OneinStackLet’s Encrypt的certbot renew不在crontab设置中
探路者 asked 7 年 ago
您好!
  Let’s Encrypt的certbot renew不在crontab设置中,crontab没有certbot renew设置时间哦!

2 Answers
oneinstack answered 7 年 ago
vhost.sh 绑定成功 crontab中才会有

探路者 answered 7 年 ago
是绑定成功的,且建立SSL的时候选择的是:Let’s Encrypt,仍然没有见到时间设置呢:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed