[taskjuggler] Re: Resources: new employees / quiting employees in middle of project

From: h_dk (hanneloredk_at_yucom.be)
Date: Thu Aug 04 2005 - 12:25:26 CEST


From: h_dk <hanneloredk@yucom.be>
Message-Id: <20050804102526.497032731024@einstein.suse.de>
Date: Thu,  4 Aug 2005 12:25:26 +0200 (CEST)
Subject: [taskjuggler] Re: Resources: new employees / quiting employees in middle of project


I made a draft for the shift property as well.
This seemed to work when I tried it, but it may need tweaking.

hdk

#Tips & Tricks: Employees changing from full-time to part-time, or vice versa

# First, define the two schedules as shifts

shift s1 "Tux part-time schedule 1" {
  # Tux works on mondays, wednesdays and fridays
  # The days that Tux doesn't work must be mentioned explicitely
  # otherwise the defaults values are used (usually full-time employment).
  workinghours mon 9:00 - 12:00, 13:00-18:00
  workinghours tue off
  workinghours wed 9:00 - 12:00
  workinghours thu off
  workinghours fri 9:00 - 12:00, 13:00-18:00
}

shift s2 "Tux part-time schedule 2" {
   # Tux changes his schedule to work on tuesday and thursdays
  # The days that Tux doesn't work must be mentioned explicitely,
   # otherwise the default values are used (usually full-time employment).
   workinghours mon off
   workinghours tue 9:00 - 12:00, 13:00-18:00
   workinghours wed off
   workinghours thu 9:00 - 12:00, 13:00-18:00
  workinghours fri off
}

#Now determine when these schedules are applicable
resource tux "Tux" {
  # Tux works three days a week from January to June
  shift s1 2005-01-01 - 2005-01-15
  # Tux switches to two days a week
  shift s2 2005-01-15 - 2005-12-31
}

-- 
To unsubscribe, email the address listed in the List-Unsubscribe header
For additional commands, email: taskjuggler-help@suse.com


This archive was generated by hypermail 2.1.7 : Thu Aug 04 2005 - 12:25:31 CEST