summaryrefslogtreecommitdiff
path: root/letsencrypt-helpers
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2016-01-12 17:59:28 +0100
committerPeter Palfrader <peter@palfrader.org>2016-01-12 17:59:28 +0100
commita71b26eafea578db15551952c01bfb5d79520dc0 (patch)
treea95d25dbd4f037fd7438d0e0d17b01772273bfa9 /letsencrypt-helpers
parentc46f30bb98dbc1181879107ed2d4e1cfc0af7037 (diff)
copy crontab entry from readme to renew-as-required
Diffstat (limited to 'letsencrypt-helpers')
-rwxr-xr-xletsencrypt-helpers/renew-as-required7
1 files changed, 6 insertions, 1 deletions
diff --git a/letsencrypt-helpers/renew-as-required b/letsencrypt-helpers/renew-as-required
index 1252fe2..813bd20 100755
--- a/letsencrypt-helpers/renew-as-required
+++ b/letsencrypt-helpers/renew-as-required
@@ -22,7 +22,12 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# renew all certs in ~/certs that match *-letsencrypt.pem
-# probably want to run this under chronic.
+# SHELL=/bin/bash
+# @daily sleep $(( $RANDOM \% 7200 )) && export PATH="$HOME/bin:$PATH" && renew-as-required
+# probably want to run this under chronic, so add a chronic:
+# SHELL=/bin/bash
+# @daily sleep $(( $RANDOM \% 7200 )) && export PATH="$HOME/bin:$PATH" && chronic renew-as-required
+# (chronic is in moreutils)
set -e
set -u