Add certificate renewal to crontab

This commit is contained in:
Kumi 2019-02-25 13:25:48 +00:00
parent 8e16370769
commit bcaad90cfd

View file

@ -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