Forgejo API
GET/admin/cron

List cron tasks

Lists the instance's configured cron tasks. Use page and limit to select a result page and page size. Each task includes its name, schedule, execution count, and previous and next execution times.

2 parameters
pageintegeroptional
The one-based page number of cron tasks to return.
limitintegeroptional
The number of cron tasks to include in the result page.

2 status codes
200Returns an array of cron task objects containing each task's name, schedule, execution count, previous execution time, and next execution time.
exec_timesintegeroptional
namestringoptional
nextstringoptional
prevstringoptional
schedulestringoptional
403Returned when the authenticated user is forbidden from viewing cron tasks.
messagestringoptional
urlstringoptional

Error handling

A 403 is returned when the authenticated user is forbidden from viewing cron tasks. When supplied, page must be a one-based page number and limit must specify the requested page size.