[OSGeo] #3061: Schedule gitea to purge all archives at midnight

OSGeo trac_osgeo at osgeo.org
Thu Dec 21 09:41:35 PST 2023


#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.


More information about the Sac mailing list