#3061: Schedule gitea to purge all archives at midnight
----------------------------+-----------------------
Reporter: robe | Owner: strk
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Gitea | Keywords:
----------------------------+-----------------------
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.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3061>
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.
#3061: Schedule gitea to purge all archives at midnight
----------------------------+------------------------
Reporter: robe | Owner: strk
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Gitea | Resolution:
Keywords: |
----------------------------+------------------------
Comment (by robe):
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
{{{
[cron.archive_cleanup]
ENABLED = true
SCHEDULE = @every 1h
OLDER_THAN = 1h
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3061#comment:1>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
#3061: Schedule gitea to purge all archives at midnight
----------------------------+------------------------
Reporter: robe | Owner: strk
Type: task | Status: closed
Priority: normal | Milestone: Unplanned
Component: SysAdmin/Gitea | Resolution: fixed
Keywords: |
----------------------------+------------------------
Changes (by robe):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/3061#comment:2>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.