Skip to content

Commit aa4cec6

Browse files
aapelivclaude
andcommitted
Check certs every 2 hours instead of every 5 days
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e2ac5eb commit aa4cec6

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)