Skip to content

Commit f82a9ba

Browse files
authored
Merge pull request #8139 from Couchers-org/devops/check-certs-more-often
Check certs every 2 hours instead of every 5 days
2 parents 0113336 + aa4cec6 commit f82a9ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/nginx/scripts/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
/scripts/get-certs.sh
44

5-
# start cron to automatically renew certs every 5 days
5+
# start cron to automatically renew certs every 2 hours
66
touch /var/log/get-certs.log
7-
echo "47 5 */5 * * root /scripts/get-certs.sh >> /var/log/get-certs.log 2>&1" > /etc/cron.d/get-certs
7+
echo "47 */2 * * * root /scripts/get-certs.sh >> /var/log/get-certs.log 2>&1" > /etc/cron.d/get-certs
88
cron -f &
99
# get output here
1010
tail -f /var/log/get-certs.log &

0 commit comments

Comments
 (0)