Next: , Previous: Dependent Scheduler, Up: Schedulers


4.8.6 Periodic Scheduler

This simple scheduler just triggers a build every N seconds.

The arguments to this scheduler are:

name
builderNames
properties
periodicBuildTimer
The time, in seconds, after which to start a build.

Example:

     from buildbot.schedulers import timed
     nightly = timed.Periodic(name="daily",
                     builderNames=["full-solaris"],
                     periodicBuildTimer=24*60*60)
     c['schedulers'] = [nightly]

The scheduler in this example just runs the full solaris build once per day. Note that this scheduler only lets you control the time between builds, not the absolute time-of-day of each Build, so this could easily wind up an “evening” or “every afternoon” scheduler depending upon when it was first activated.