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!
Hi;
You can disable any cron simply by editing your app.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
1 Like