[Buildbot-devel] documentation issue?

Brian Warner warner-buildbot at lothar.com
Sun Nov 26 07:53:42 UTC 2006


christian unger <christian_unger at mac.com> writes:

> Hi,
> I found this to be contradictory:
>
> Package buildbot :: Module scheduler :: Class Nightly
>
> This scheduler will perform a build each monday morning at 6:23am and  
> again at 8:23am:
> s = Nightly('BeforeWork', ['builder1'],
>              dayOfWeek=0, hour=[6,8], minute=23)
>
> (...) Month and day numbers start at 1, not zero.

> throws up the question at what day does the week actually start?
> can you point me to the correct meaning?

I should have written 'month and dayOfMonth numbers start at 1'. The values
are compared against the tuple returned by time.localtime(), so dayOfWeek=0
means monday, and dayOfWeek=6 means sunday. I've updated the docstring to
reflect this.

thanks,
 -Brian




More information about the devel mailing list