The TaskJuggler Manual | ||
---|---|---|
Prev | Chapter 7. Property Reference | Next |
value
>
<unit
>projectmax
<value >
<unit >
| |||
---|---|---|---|
Description | Sets the global project limit of a resource usage or a resource allocation to a task. The properties "projectmax" and "yearlymax" should be avoided on projects with hundreds or thousands of tasks or with low timingresolution, otherwise computing time may become humanly unbearable. Using projectmax on projects with only tens of tasks and the default timingresolution is okay on a 2009 low cost computer. | ||
Attributes | Name | Type | Description |
value | REAL | ||
unit | UNIT | ||
Context | limits, | ||
Inheritable | Yes | Scenario Spec. | No |
See also | dailymax, weeklymax, monthlymax, yearlymax |
project limits "Limits" "1.0" 2004-03-01 - 2004-05-01 # Default limit that affects all subsequently defined resources limits { weeklymax 4d } resource r1 "R1" { # Limit the usage of this resource to a maximum of 2 hours per day, # 6 hours per week and 2.5 days per month. limits { dailymax 2h weeklymax 6h monthlymax 2.5d yearlymax 217d } } resource r2 "R2" task t1 "Task 1" { start 2004-03-01 duration 60d # allocation is subject to resource limits allocate r1 } task t2 "Task 2" { start 2004-03-01 duration 60d # limits can also be specified per allocation allocate r2 { limits { dailymax 4h weeklymax 3d monthlymax 2w projectmax 20d } } }