### The TaskJuggler User Manual

Project Management beyond Gantt Chart Drawing

<< disabled << | Table Of Contents | >> efficiency >>

Keyword | duration

Purpose

Specifies the time the task should last. This is calendar time, not working time. 7d means one week. If resources are specified they are allocated when available. Availability of resources has no impact on the duration of the task. It will always be the specified duration.

Tasks may not have subtasks if this attribute is used. Setting this attribute will reset the effort and length attributes.

Syntax | `duration <value> (min | h | d | w | m | y)`
Arguments | value | A floating point or integer number
min | minutes
h | hours
d | days
w | weeks
m | months
y | years
Context | task, supplement (task)
See also | effort, length

    project "Duration Example" 2007-06-06 - 2007-06-26 {
      timezone "America/Denver"
    }

    resource tux "Tux"

    task t "Enclosing" {
      start 2007-06-06
      task durationTask "Duration Task" {
        # This task is 10 calendar days long.
        duration 10d
      }

      task intervalTask "Interval Task" {
        # This task is similar to the durationTask. Instead of a start
        # date and a duration it has a fixed start and end date.
        end 2007-06-17
      }

      task lengthTask "Length Task" {
        # This task 10 working days long. So about 12 calendar days.
        length 10d
      }

      task effortTask "Effort Task" {
        # Tux will need 10 days to complete this task.
        effort 10d
        allocate tux
      }
    }

<< disabled << | Table Of Contents | >> efficiency >>

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012 by Chris Schlaeger <chris@linux.com>.TaskJuggler is a trademark of Chris Schlaeger.