Apologies if this is really trivial, but I am just wondering if it is still necessary to create a cron job with certbot renew command in it? I followed the instructions here for installing certbot: https://certbot.eff.org/lets-encrypt/ubuntubionic-apache
The doc says there is a script installed in one of the following:
/etc/crontab/
/etc/cron./
systemctl list-timers
I ran this command: systemctl list-timers
It produced this output: Thu 2020-10-01 11:04:00 UTC 17h left Wed 2020-09-30 16:17:10 UTC 1h 21min ago snap.certbot.renew.timer snap.certbot.renew.service
My web server is (include version): Apache
The operating system my web server runs on is (include version): Ubuntu 18
I can login to a root shell on my machine (yes or no, or I don't know): yes
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.8.0
Hello @jamdev!
Welcome to the community!
Check the output of:
systemctl list-units --all | grep certbot
And if the result looks something like: 128: certbot.service loaded inactive dead Certbot 289: certbot.timer loaded active waiting Run certbot twice daily
Thanks for the timely reply! I ran the command and got this:
snap-certbot-579.mount loaded active mounted Mount unit for certbot, revision 579
snap.certbot.renew.service loaded inactive dead Service for snap application certbot.renew snap.certbot.renew.timer loaded active waiting Timer renew for snap application certbot.renew