I installed the python-certbot-apache package per the instructions on certbot.eff.org but can't find any entry for the cron job its supposed to set up.

The Certbot packages on your system come with a cron job that will renew your certificates automatically before they expire. Since Let's Encrypt certificates last for 90 days, it's highly advisable to take advantage of this feature. From: https://certbot.eff.org/#debianjessie-apache

Where do I find this cron job? I've tried 'crontab -l', with and without sudo both, with no luck.

I understand how to run the cron job to renew the cert; my question is: where is the cron job that this package installed? Did it install?

2 Answers 2


In any Debian derivate, to list the files installed for a package you usually do dpkg -L.

So in your case:

dpkg -L python-certbot-apache 

This is give you the list of all files installed, and where.

You can also request the list of files from packages.debian.org

From https://packages.debian.org/stretch/all/python-certbot-apache/filelist


It appears there is no cron job automatic added for the package.

You also need to install the package certbot

sudo apt-get install certbot

List of files:


So from this last package, the crontab files installed are actually /etc/cron.d/certbot for crontab and you have /lib/systemd/system/certbot.service + /lib/systemd/system/certbot.timer for systemd

  • Thanks for the response. I've looked through each of the listed txt files with no mention of setting the cron job. Could it be set in one of the listed python files? I'd like to know how to view the cron job that this package installed.
    – T. Thomas
    Commented Dec 30, 2017 at 20:47
  • I've already looked through this with no luck.
    – T. Thomas
    Commented Dec 30, 2017 at 20:53
  • @T.Thomas There is another package. added to the answer. Commented Dec 30, 2017 at 20:53

Its actually using systemd.

I used systemctl list-unit-files | grep enabled to list my running services.

It's named certbot.timer


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .