Time based build scheduling in Teamcity

teamcity

Solution

You can use a Schedule trigger with cron expressions to do this.

I believe you'd need this one:

- Seconds: 0

- Minutes: 0,20,40

- Hours: *

- Day of month: *

- Month: *

- Day of week: ?

- Year: *

(or whatever interval you desire)

TeamCity uses Quartz for scheduling, see more cron expression examples.

Problem

In Teamcity (version 7.1) how do I set up a build to be triggered to run every 20 mins for example? I notice you can set up timed based schedules, for example "Run this build at 18:00 everyday" but that's not quite what I want.

Original source