TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Configuring Schedule Triggers

Last modified: 20 April 2023

The Schedule Trigger allows you to set the time when a build of the configuration will be run.

Schedule Trigger options



Besides triggering builds daily or weekly, you can specify advanced time settings using cron-like expressions. This format provides more flexible scheduling options.

TeamCity uses Quartz for working with cron expressions.

Examples



See also other examples.

Brief description of the cron format used



Cron expressions are comprised of six fields and one optional field separated with a white space. The fields are respectively described as follows:

For the description of the special characters, please refer to Quartz CronTrigger Tutorial.

VCS Settings



You can restrict schedule trigger to start builds only if there are pending changes in your version control by selecting the corresponding option.