gitea/services/cron
Jason Song 687c118248
Clear up old Actions logs (#31735)
Part of #24256.

Clear up old action logs to free up storage space.

Users will see a message indicating that the log has been cleared if
they view old tasks.

<img width="1361" alt="image"
src="https://github.com/user-attachments/assets/9f0f3a3a-bc5a-402f-90ca-49282d196c22">

Docs: https://gitea.com/gitea/docs/pulls/40

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-08-02 00:42:08 +00:00
..
cron.go Fix data-race bug when accessing task.LastRun (#27584) 2023-10-11 14:51:20 +00:00
setting.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
tasks.go Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
tasks_actions.go Clear up old Actions logs (#31735) 2024-08-02 00:42:08 +00:00
tasks_basic.go Move `registerActionsCleanup` to `initActionsTasks` (#31721) 2024-07-30 10:27:28 +08:00
tasks_extended.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
tasks_test.go Update go dependencies (#28518) 2023-12-19 09:18:42 +08:00