We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0113336 + aa4cec6 commit f82a9baCopy full SHA for f82a9ba
1 file changed
app/nginx/scripts/run.sh
@@ -2,9 +2,9 @@
2
3
/scripts/get-certs.sh
4
5
-# start cron to automatically renew certs every 5 days
+# start cron to automatically renew certs every 2 hours
6
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
+echo "47 */2 * * * root /scripts/get-certs.sh >> /var/log/get-certs.log 2>&1" > /etc/cron.d/get-certs
8
cron -f &
9
# get output here
10
tail -f /var/log/get-certs.log &
0 commit comments