summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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