From: Chris Schlaeger (cs_at_suse.de)
Date: Thu May 01 2003 - 11:27:24 CEST
From: Chris Schlaeger <cs@suse.de> Date: Thu, 1 May 2003 11:27:24 +0200 Message-Id: <200305011127.25358.cs@suse.de> Subject: Re: [taskjuggler] How can I specifiy a task that has a minimum duration, but very little effort?
On Wednesday 30 April 2003 20:56, Lutz Vieweg wrote:
> Hi,
>
> I just tried to create a .tjp file for a project that involves a
> certain kind of testing phase. This testing phase requires that
> someone will have to have a look at some running server (developed earlier)
> from time to time, but only very little effort is needed to do this.
> However, the period over which the server has to be monitored is
> at least 4 weeks long.
>
> Now I cannot find a way to tell TaskJuggler that a task will take
> that long, but still needs only 4 hours working time in total.
>
> I've tried "duration 4w effort 4h" together, but this is rejected.
> I've tried "effort 4h" together with "allocate ... { load 0.025 }",
> but this is also rejected as it is below the scheduling granularity.
> Using fixed "start" and "end" dates is not an option as the testing
> start depends on a lot of other things to be done before.
>
> Is there any way to do this?
Yes, there is. The problem is that you want TJ to be more clever than it can
be. TJ always works with precise resource allocations. You want to enter
something like "Do this 4 hour job during 4 weeks and I don't care how." The
'load' specification limits the working time per day. Since the default
scheduling granularity is 1h, the minimum load per day is 1 hour. So you
could increase the scheduling granularity to 5 min, but this significantly
increases the scheduling time and memory requirements but would allow an
minimum load of 10 or 15 minutes per day.
The far better alternative is to define a shift that only has one working hour
per week.
shift testwork "Test Shift" {
mon 9:00 - 10:00
tue off
wed off
thu off
fri off
sat off
sun off
}
Then you can use the shift to limit the allocation to the specified time
intervals.
task testing "Testing" {
duration 4w
allocate joe { shift testwork }
}
That should give you exactly what you want.
Chris
-- KDE 3.1: Conquer your Enterprise Desktop! See http://www.kde.org! GPG Key: 1024D/0500838B A5FE C051 2AFC 9A14 768A 5125 5829 5750 0500 838B
This archive was generated by hypermail 2.1.7 : Thu May 01 2003 - 11:29:11 CEST