Version 1.0.0
Language EN

Cron Create

Create a new cron job. Please note this api requires write access to the repository.

POST /api/repos/{owner}/{repo}/cron

Example Request Body:

{
  "name": "nightly",
  "expr": "0 0 1 * * *",
  "branch": "master"
}

Example Response Body:

{
  "id": 1,
  "repo_id": 42,
  "name": "nightly",
  "expr": "0 0 1 * * *",
  "branch": "master",
  "next": 1564120128,
  "pref": 1564116480,
  "created": 1564096971,
  "updated": 1564096971,
}

On This Page:

Getting Help

Mailing List
Search for information in the mailing list archives, or post a question.
Chat Support
Real-time chat support from maintainers and community members.