跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of the next version, still under development. See the latest release.

List cron tasks

GET
/admin/cron
curl --request GET \
--url https://gitea.com/api/v1/admin/cron \
--header 'Authorization: Basic <credentials>'
page
integer

Page number of results to return (1-based)

limit
integer

Page size of results

CronList

Media typeapplication/json
Array<object>

Cron represents a Cron task

object
exec_times

The total number of times this cron task has been executed

integer format: int64
name

The name of the cron task

string
next

The next scheduled execution time

string format: date-time
prev

The previous execution time

string format: date-time
schedule

The cron schedule expression (e.g., “0 0 * * *”)

string
Examplegenerated
[
{
"exec_times": 1,
"name": "example",
"next": "2026-04-15T12:00:00Z",
"prev": "2026-04-15T12:00:00Z",
"schedule": "example"
}
]

APIForbiddenError is a forbidden error response

Media typeapplication/json
message
string
url
string