One script to renew Let's Encrypt certificate with crontab.
Clone "letsencrypt/letsencrypt" to your repository cd /opt/
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
chmod +x letsencrypt-auto
git clone renew_letsencrypt.sh to your server.
cd /opt/
git clone https://github.com/infinityonhigh9669/renew-letsencrypt
cd renew-letsencrypt
chmod +x renew_letsencrypt.sh
crontab -e
@monthly /opt/renew-lets-encrypt/renew_letsencrypt.sh
service cron restart