I configured my server and domain to use Let’s Encrypt certificates. I want to use the certbot for automatic renewals. I want to set a crontab for automatic renewals. (dry-run option is working fine). Now I realized that there is a cronjob in
0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew .
My question now is if this cronjob is triggered automatically so I don’t have to do anything at all?? Or do I have to specify a crontab still?? And also is this crontab executed with sudo priviledges?
I am using no server software at all on my server (EC2 instance) since my nginx is running within docker. I am using systemd. My question now is: Can I just set a new cronjob in
sudo crontab -e and place this command in there? Is that supposed to work? Because if I run this command manually I get v
*** DISPLAY not set, setting it to IPADDRESS.
Or is it enough to place a cronjob in sudo crontab -e with
Thanks in advance for any help!! And thanks for Let’s Encrypt!
My web server is (include version): ubuntu 16.04
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 0.31.0