let's encrypt ssl auto renew 1

let’s encrypt ssl auto renew

sudo crontab -e
0 3 * * 0 /usr/bin/letsencrypt renew >> /var/log/letsencrypt-renew.log 2>&1

Here is what the above code is Doing:
1. The first line is the cron job.
2. The second line is the command to run.
3. The third line is the output of the command.
4. The fourth line is the error output of the command.

Similar Posts