[Buildbot-devel] Cron-style scheduling

Brian Warner warner-buildbot at lothar.com
Mon Nov 7 06:39:40 UTC 2005


> From: Dobes Vandermeer <dobesv at gmail.com>
> 
> This is a first take on a cron-style scheduler.  Insert it into
> scheduler.py after class Periodic.  To run a build once per weekday
> (which I'm sure will be the most popular usage) at 3am, pass hour=3,
> minute=0, dayOfWeek=range(5).  Also to run every even five minutes,
> pass minute=range(0,60,5).

Hey, this is perfect! Mind if I commit it? I was wondering about names for a
little while ("cron-style" makes perfect sense to me, but it isn't quite as
discoverable to someone who isn't familiar with the usual unix utilities)..
do you think "Nightly" would make a good name? It isn't limited to nightly
builds, of course, but when someone asks the question of "how to I make
buildbot run a nightly build" and greps around, this one will just jump right
out at them.

thanks!
 -Brian




More information about the devel mailing list