Opened 13 months ago
Closed 13 months ago
#3061 closed task (fixed)
Schedule gitea to purge all archives at midnight
Reported by: | robe | Owned by: | strk |
---|---|---|---|
Priority: | normal | Milestone: | Unplanned |
Component: | SysAdmin/Gitea | Keywords: | |
Cc: |
Description
I think the reason the snapshots of trac are so bloated is the scheduler is only set to delete old archives. I think an old is considered something older than 24 hours.
When I clear space I run the job set to delete all archives. I think we need to schedule this one.
Change History (2)
comment:1 by , 13 months ago
comment:2 by , 13 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Okay I couldn't find a way to run that job in cron app.ini - no short-cut listed here - https://docs.gitea.com/next/administration/config-cheat-sheet
However I was able to change the job that deletes old archives to run every hour and delete any archive older than 1 hr with these lines in the app.ini