From a71b26eafea578db15551952c01bfb5d79520dc0 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 12 Jan 2016 17:59:28 +0100 Subject: copy crontab entry from readme to renew-as-required --- letsencrypt-helpers/renew-as-required | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'letsencrypt-helpers') 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 -- cgit v1.2.3