The TaskJuggler User Manual

Project Management beyond Gantt Chart Drawing


<< resourceroot << Table Of Contents >> responsible >>


Keyword resources (limit)

Purpose
When limits are used in a task context, the limits can be restricted to a list of resources that are allocated to the task. In that case each listed resource will not be allocated more than the specified upper limit. Lower limits have no impact on the scheduler but do generate a warning when not met. All specified resources must be leaf resources.
Syntax resources <resource> [, <resource>...]
Arguments resource
The ID of a leaf resource
Context dailymax, dailymin, maximum, minimum, monthlymax, monthlymin, weeklymax, weeklymin

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 }
  }
}


<< resourceroot << Table Of Contents >> responsible >>


Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 by Chris Schlaeger <cs@taskjuggler.org>.TaskJuggler is a trademark of Chris Schlaeger.