(NO LONGER MAINTAINED) | Bash script to generate and install Let's Encrypt certificate for your websites on your ServerPilot account (Free or Paid Plan)
/usr/bin/letsencrypt renew && service nginx-sp reload in cron as root on Ubuntu 18.04 works, but I recive all 12h email.
I want only recive a email if is fail.
I try with /usr/bin/letsencrypt renew --quiet && service nginx-sp reload and i recive a email with the message /bin/sh: 1: service: not found.
In bash shell works with --quiet.
What am I doing wrong?
/usr/bin/letsencrypt renew && service nginx-sp reload
in cron as root on Ubuntu 18.04 works, but I recive all 12h email. I want only recive a email if is fail. I try with/usr/bin/letsencrypt renew --quiet && service nginx-sp reload
and i recive a email with the message /bin/sh: 1: service: not found. In bash shell works with --quiet. What am I doing wrong?