<< limits (resource) << | Table Of Contents | >> listitem (column) >> |
Keyword | limits (task) |
Purpose | Set per-interval allocation limits for the task. This setting affects all allocations for this task. |
|
Syntax | limits [{ <attributes> }] |
|
Arguments | none | |
Context | task, supplement (task) |
Attributes | dailymax, dailymin, maximum, minimum, monthlymax, monthlymin, weeklymax, weeklymin |
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 } } resource r2 "R2" task t3 "Task 3" { start 2007-03-30 effort 10d allocate r2 limits { weeklymax 2d } } task t5 "Task 5" { start ${projectstart} duration 60d # allocation is subject to resource limits allocate r1 } task t6 "Task 6" { start ${projectstart} duration 60d allocate r2 limits { dailymax 4h weeklymax 3d monthlymax 2w } } task t7 "Task 7" { start 2007-06-20 duration 20d allocate r1, r2 # limits can also be specified per resource limits { # Limit r1 to half days only dailymax 4h { resources r1 } # Limit r2 to 6 hours per day dailymax 6h { resources r2 } } }
<< limits (resource) << | Table Of Contents | >> listitem (column) >> |