跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 24.7.0, which is no longer the latest release. See the latest release.

Run cron task

POST
/admin/cron/{task}
curl --request POST \
--url https://gitea.example.com/api/v1/admin/cron/example \
--header 'Authorization: Basic <credentials>'
task
required
string

Task to run

APIEmpty is an empty response

Media typeapplication/json

APINotFound is a not found empty response

Media typeapplication/json