# How to fully disable a cron schedule task?

**URL:** <https://forum.gitea.com/t/how-to-fully-disable-a-cron-schedule-task/5792>\
**Category:** Install/Maintain/Configure\
**Created:** [August 29, 2022, 8:32pm UTC](https://forum.gitea.com/t/how-to-fully-disable-a-cron-schedule-task/5792 "2022-08-29T20:32:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user46132](https://avatars.discourse-cdn.com/v4/letter/u/c0e974/32.png) [@user46132](https://forum.gitea.com/u/user46132)\
**Post date:** [August 29, 2022, 8:32pm UTC](https://forum.gitea.com/t/how-to-fully-disable-a-cron-schedule-task/5792/1 "2022-08-29T20:32:23Z")

</div>

Hello.  
How to fully disable a cron schedule task?  
For example, `cron.update_mirrors` updates every 10 minutes by default, that is specified in `SCHEDULE` field. I can change the interval, make it bigger, once a year for example, but how to disable it forever?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Mai-Lapyst](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/mai-lapyst/32/5065_2.png) [@Mai-Lapyst](https://forum.gitea.com/u/Mai-Lapyst)\
**Post date:** [September 6, 2022, 8:15pm UTC](https://forum.gitea.com/t/how-to-fully-disable-a-cron-schedule-task/5792/2 "2022-09-06T20:15:20Z")

</div>

Hi;

You can disable any cron simply by editing your `app.ini`:

```ini
[cron.update_mirrors]
;; Enable running Update mirrors task periodically.
ENABLED = false

```

Also see here for the full list of options: [gitea/app.example.ini at f1ea6c92d18699dfe935556f065be288d3bc2e78 · go-gitea/gitea · GitHub](https://github.com/go-gitea/gitea/blob/f1ea6c92d18699dfe935556f065be288d3bc2e78/custom/conf/app.example.ini#L1828-L1847)
