# Disable crontab

**URL:** <https://community.letsencrypt.org/t/disable-crontab/80014>\
**Category:** Server\
**Created:** [December 13, 2018, 12:37pm UTC](https://community.letsencrypt.org/t/disable-crontab/80014 "2018-12-13T12:37:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joostvandermeijden](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@joostvandermeijden](https://community.letsencrypt.org/u/joostvandermeijden)\
**Post date:** [December 13, 2018, 12:37pm UTC](https://community.letsencrypt.org/t/disable-crontab/80014/1 "2018-12-13T12:37:00Z")

</div>

Dear Let's Encrypt community,

I've created my own cronjob for renewal for a simular case as an older ticket (see bottom).  
TS tells he disabled the delivered crontab. I would like to know how I can do this as well.

@dandelionred told that you should not modify /etc/cron.d/certbot but certbot.service instead.  
I assume he means /lib/systemd/system/certbot.service.

How do I disable crons using this file?  
I'm running a Ubuntu 18.04 machine.

Content of /lib/systemd/system/certbot.service

> [Unit]  
> Description=Certbot  
> Documentation=file:///usr/share/doc/python-certbot-doc/html/index.html  
> Documentation=[The Let’s Encrypt project — letsencrypt latest documentation](https://letsencrypt.readthedocs.io/en/latest/)  
> [Service]  
> Type=oneshot  
> ExecStart=/usr/bin/certbot -q renew  
> PrivateTmp=true

Older ticket by @jeffd :

> [@Certbot should not add itself to cron for renewals - should be opt in](https://community.letsencrypt.org/t/certbot-should-not-add-itself-to-cron-for-renewals-should-be-opt-in/40368):
>
> C…

---

<div class="post-metadata">

**Author:** ![Buffalo](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/buffalo/32/28370_2.png) [@Buffalo](https://community.letsencrypt.org/u/Buffalo)\
**Post date:** [December 17, 2018, 10:51pm UTC](https://community.letsencrypt.org/t/disable-crontab/80014/2 "2018-12-17T22:51:10Z")

</div>

It’s probably not cron - it’s probably a systemd timer. The pesky things are  
really sneaky.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [January 16, 2019, 10:51pm UTC](https://community.letsencrypt.org/t/disable-crontab/80014/3 "2019-01-16T22:51:14Z")

</div>

Closed on January 16, 2019, 10:51pm UTC

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