TeamCity REST API Reference 2025.11 Help

Cron

A cron expression that represents a custom schedule.

Related Help article: Cron Expressions

Properties

minute

The minute of the scheduled time. Supports values in the 0 - 59 range.

hour

The hour of the scheduled time. Supports Integer values in the 0 - 23 range and special.

day

The day of month when the scheduled event occurs. Supports Integer values in the 1 - 31 range and special characters.

month

The month when the scheduled event occurs. Supports Integer values in the 1-12 range, short month names (for example, JAN), and special characters.

dayWeek

The day of week when the scheduled event occurs. Supports Integer values in the 1-7 range, short month names (for example, SAT), and special characters.

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<cron day="?" dayWeek="JAN" hour="0" minute="30" month="JAN"/>
{ "hour" : "0", "month" : "JAN", "dayWeek" : "JAN", "day" : "?", "minute" : "30" }
Last modified: 02 December 2025