When run, the Letsencrypt.sh script will check your existing certificate to see how long it's valid. If it has less than 30 days' lifetime remaining (by default; this can be changed by setting RENEW_DAYS in config.sh to something other than 30), the script will renew your certificates. If more than 30 days remain, the script will exit without further action. All that's necessary is to run letsencrypt.sh daily:
+
nano -w /etc/cron.daily/call-letsencrypt.sh
+
+
Enter the following in this file:
+
#!/bin/bash
+
/usr/local/bin/letsencrypt.sh -c
+
Ctrl-X to exit, Y to save. Then make it executable: