<< currencyformat << | Table Of Contents | >> dailymin >> |
Keyword | dailymax |
Purpose | Set a maximum limit for each calendar day. |
|
Syntax | dailymax <value> (min | h | d | w | m | y) [{ <attributes> }] |
|
Arguments | value | A floating point or integer number |
min | minutes |
|
h | hours |
|
d | days |
|
w | weeks |
|
m | months |
|
y | years |
|
Context | limits (allocate), limits, limits (resource), limits (task) |
Attributes | end (limit), period (limit), resources (limit), start (limit) |
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 t1 "Task 1" { start 2007-03-30 effort 10d allocate r2 limits { dailymax 3h } } task t2 "Task 2" { start 2007-03-30 effort 10d allocate r2 limits { dailymin 5h } } 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 } } }
<< currencyformat << | Table Of Contents | >> dailymin >> |