Next: Nightly Scheduler, Previous: Dependent Scheduler, Up: Schedulers
This simple scheduler just triggers a build every N seconds.
The arguments to this scheduler are:
from buildbot.schedulers import timed nightly = timed.Periodic(name="nightly", 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 a “daily” or “every afternoon” scheduler depending upon when it was first activated.