Fix cron command

This commit is contained in:
Edi Septriyanto
2020-12-23 23:09:34 +07:00
parent e71d6f4238
commit fa0539a2c6

View File

@@ -64,7 +64,7 @@ function init_certbotle_install() {
info "Certbot auto-renew command added to cronjob in dryrun mode."
else
export EDITOR=nano
CRONCMD='15 3 * * * root /usr/bin/certbot renew --quiet --renew-hook "/usr/sbin/service nginx reload -s"'
CRONCMD='15 3 * * * /usr/bin/certbot renew --quiet --renew-hook "/usr/sbin/service nginx reload -s"'
touch lemper.cron
crontab -u root lemper.cron
crontab -l > lemper.cron