| << limits (allocate) << | Table Of Contents | >> limits (task) >> |
| Keyword | limits (resource) |
| Purpose | Set per-interval usage limits for the resource. |
|
| Syntax | limits [{ <attributes> }] |
|
| Arguments | none | |
| Context | resource, supplement (resource) | |
| 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 }
}
| << limits (allocate) << | Table Of Contents | >> limits (task) >> |