ansible-role-certbot icon indicating copy to clipboard operation
ansible-role-certbot copied to clipboard

Why add cron if there's systemd timer

Open simPod opened this issue 6 months ago • 1 comments

Hi isn't the cron setup redundant?

The certbot installed systemd timer that takes care of cert renewal

# systemctl status certbot.timer
● certbot.timer - Run certbot twice daily
     Loaded: loaded (/lib/systemd/system/certbot.timer; enabled; preset: enabled)
     Active: active (waiting) since Sun 2025-04-20 11:40:13 UTC; 23h ago
    Trigger: Mon 2025-04-21 19:36:11 UTC; 8h left
   Triggers: ● certbot.service

Apr 20 11:40:13 debian-bullseye-template systemd[1]: Started certbot.timer - Run certbot twice daily.

simPod avatar Apr 21 '25 11:04 simPod