From bcaad90cfdb235e880fd973ecde09be20f35ea2b Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Mon, 25 Feb 2019 13:25:48 +0000 Subject: [PATCH] Add certificate renewal to crontab --- misc/cron | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/cron b/misc/cron index 0a00de2..2077352 100644 --- a/misc/cron +++ b/misc/cron @@ -1,3 +1,5 @@ SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin */5 * * * * root (cd /opt/vpnmanager; ./manage.py runcrons) +30 0 * * * root /usr/local/bin/certbot renew +0 1 * * * root /bin/systemctl reload nginx