changed cronjob for certbot renewal

This commit is contained in:
2022-06-09 09:19:51 +02:00
committed by Gitea
parent 8ce718614c
commit 5467092862
+3 -2
View File
@@ -15,13 +15,14 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
#
10 3 * * * root /usr/local/bin/rkhunter --cronjob
0 5 * * * root /bin/systemctl restart nginx
#0 5 * * * root /bin/systemctl restart nginx
# cronjob for refreshing dyndns-IP
07,22,37,52 * * * * root /usr/local/bin/update-hosts.sh
#*/5 * * * * php-cli -f /var/www/vhosts/solusar.de/subdomains/nextcloud/cron.php
0 0,12 * * * root /opt/certbot/bin/python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew -q
#0 0,12 * * * root /opt/certbot/bin/python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew -q
0 0,12 * * * root /usr/bin/certbot renew -q
0 1 * * * root /usr/bin/restic -r /backup/restic-repo backup /var/opt/vmail --password-file /root/.restic
15 1 * * * root /usr/bin/restic -r /backup/restic-repo backup /var/www --password-file /root/.restic