Run a pipeline on a schedule
To run a pipeline at a given time, use a timer. Timers understand a cron-like specification for when to run a pipeline.
Note that a pipeline will still schedule normally if changes are checked in. If the pipeline should only run according to the timer's schedule then you should also set a manual approval for the first stage of the pipeline to stop it from automatically scheduling when materials change.
The timer is similar to a manually triggered pipeline in many ways. But it does not fetch the latest revision of the materials when it runs. It uses the last available revision that is knows of.
Configure through the UI
To configure the timer in the UI, navigate to the General Options section of the pipeline.
Configure through the XML
For example, the following xml config would run the pipeline at 10pm on weekdays:
<pipeline name="nightly"> <timer>0 0 22 ? * MON-FRI</timer> <materials> ... </materials> <stages> <stage name="compile"> <approval type="manual"/> ... </pipeline>
For more information see <timer>