Hi

use the schedule trigger
http://confluence.public.thoughtworks.org/display/CCNET/Schedule+Trigger

<triggers>
  <scheduleTrigger time="09:00" buildCondition="ForceBuild" />
  <scheduleTrigger time="10:00" buildCondition="ForceBuild" />
  <scheduleTrigger time="11:00" buildCondition="ForceBuild" />
   ....

</triggers>



with kind regards
Ruben Willems

On Tue, Jun 30, 2009 at 1:22 PM, andrastyle <[email protected]> wrote:

>
> ccnet <triggers> task should trigger sharp in one hour intervals.
> (i.e. 8 A.M., 9 A.M, 10 A.M, 11 A.M....so on 10 P.M). It should not
> include the build time taken in this. By using the following script
> the build is generating in every one hour, but it is taking the time
> taken to build the application. eg: If the build is triggered at 8
> A.M, and taken 10 minutes to build the application, the next build is
> happening at 9:10 A.M. But the expectation is, it should happen again
> at 9 A.M.
>
> <triggers>
>        <filterTrigger startTime="22:00" endTime="08:00">
>                <trigger type="filterTrigger" startTime="0:00"
> endTime="23:59:59">
>                        <trigger type="intervalTrigger" name="continuous"
> seconds="3600"
> buildCondition="ForceBuild"/>
>                        <weekDays>
>                                <weekDay>Saturday</weekDay>
>                                <weekDay>Sunday</weekDay>
>                        </weekDays>
>                </trigger>
>        </filterTrigger>
> </triggers>
>
> Please can anybody help on this.....
>
> Thanks in advance...........
>

Reply via email to