diff options
author | Peter Palfrader <peter@palfrader.org> | 2016-01-12 17:59:28 +0100 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2016-01-12 17:59:28 +0100 |
commit | a71b26eafea578db15551952c01bfb5d79520dc0 (patch) | |
tree | a95d25dbd4f037fd7438d0e0d17b01772273bfa9 /letsencrypt-helpers | |
parent | c46f30bb98dbc1181879107ed2d4e1cfc0af7037 (diff) |
copy crontab entry from readme to renew-as-required
Diffstat (limited to 'letsencrypt-helpers')
-rwxr-xr-x | letsencrypt-helpers/renew-as-required | 7 |
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 |