sloppy <value>

sloppy <value>
Description

Controls how strict TaskJuggler checks booking intervals for conflicts with vacation and other bookings. In case the error is suppressed the booking will not overwrite the existing bookings. It will avoid the already assigned intervals during booking.

AttributesNameTypeDescription
valueINTEGER

Number between 0 and 2. See table below.

Contextbooking,
InheritableNoScenario Spec.No

sloppy 0:Period may not contain any off-duty hours, vacation or other task assignments. (Default)
sloppy 1:Period may contain off-duty hours, but not vacation or other task assignments.
sloppy 2:Period may contain off-duty hours and vacation, but no other task assignments.

project prj "Project" "1.0" 2003-06-05 +1m {
  # The baseline date for the projection.
  now 2003-06-15
  scenario plan "Plan" {
    # Compute when the task will be ready based on the already done
    # work and the current date.
    projection { strict }
  }
}

resource r1 "Resource 1"

task t1 "Task 1" {
  start 2003-06-05
  effort 10d
  allocate r1
}

supplement resource r1 {
  # This is the work that has been done up until now by r1.
  booking t1 2003-06-06 +8h { sloppy 2 }
  booking t1 2003-06-08 +4h,
             2003-06-09 +4h { sloppy 2 }
  # Book interval that extends into off-hours.
  booking t1 2003-06-11-8:00 +10h { overtime 1 }
}