Debian10: both systemd timer and cron?

I just upgraded a server from Debian8 to Debian10 and while checking I noticed the certbot package includes both a cron schedule and a systemd timer. Is this correct? Isn’t one conflicting with the other? Unlinkely they will be executed simultaneously, but theoretically only one of the two should be needed, isn’t it?

Installed package version: 0.31.0-1 (the default for buster)

What’s the exact cron command? As far as I know, it checks if a systemd timer exists/is active and if it does, the cronjob does nothing.

Indeed I didn’t check the content:

0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.