Cron Update
Updates the named cron job. Please note this api requires write access to the repository.
PATCH /api/repos/{owner}/{repo}/cron/{name}
Example Request Body:
1 {
2 "name": "nightly",
3 "expr": "0 0 1 * * *",
4 "branch": "develop"
5 }
Example Response Body:
1 {
2 "id": 1,
3 "repo_id": 42,
4 "name": "nightly",
5 "expr": "0 0 1 * * *",
6 "branch": "develop",
7 "next": 1564120128,
8 "pref": 1564116480,
9 "created": 1564096971,
10 "updated": 1564096971
11 }