gitea/services/cron
KN4CK3R 0c6ae61229
Allow package cleanup from admin page (#25307)
Until now expired package data gets deleted daily by a cronjob. The
admin page shows the size of all packages and the size of unreferenced
data. The users (#25035, #20631) expect the deletion of this data if
they run the cronjob from the admin page but the job only deletes data
older than 24h.

This PR adds a new button which deletes all expired data.

![grafik](https://github.com/go-gitea/gitea/assets/1666336/b3e35d73-9496-4fa7-a20c-e5d30b1f6850)

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-08-08 00:46:10 +00:00
..
cron.go Replace gogs/cron with go-co-op/gocron (#25977) 2023-07-24 04:13:41 +00:00
setting.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
tasks.go Replace gogs/cron with go-co-op/gocron (#25977) 2023-07-24 04:13:41 +00:00
tasks_actions.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
tasks_basic.go Allow package cleanup from admin page (#25307) 2023-08-08 00:46:10 +00:00
tasks_extended.go Use the new download domain replace the old (#25405) 2023-06-21 03:11:17 +00:00
tasks_test.go Replace gogs/cron with go-co-op/gocron (#25977) 2023-07-24 04:13:41 +00:00