Ralph Münch | 15 Apr 2005 16:58
Picon
Favicon

A simple shift manager

Hi list,

I have just began to use taskjuggler and went through
the 3 examples provided with the package. I also read
the docs. The program is very impressive, but there is
one simple thing I must be overlooking.

I'd like to use it to plan shifts - but not
automatically. We have 6 workers. At the beginning of
every month, we all discuss the shifts we will do for
the next month (every day is different and there is
nothing automatic).

Which commands do I need to do this? Is there an
example file on the internet for this?

Best regards,
Ralph

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Chris Schlaeger | 19 Apr 2005 01:52
Picon

Re: A simple shift manager

Hi Ralph,

On Friday 15 April 2005 08:58, Ralph Münch wrote:
> Hi list,
>
> I have just began to use taskjuggler and went through
> the 3 examples provided with the package. I also read
> the docs. The program is very impressive, but there is
> one simple thing I must be overlooking.
>
> I'd like to use it to plan shifts - but not
> automatically. We have 6 workers. At the beginning of
> every month, we all discuss the shifts we will do for
> the next month (every day is different and there is
> nothing automatic).
>
> Which commands do I need to do this? Is there an
> example file on the internet for this?

First you need to define your resources and their availability (vacation, 
workinghours, shifts). Then you need to define the tasks that you want them 
to do. Now you allocate the resources to the tasks. The allocation can again 
be restricted to certain shifts. If you want TJ to pick the resource, you can 
just allocate all resources as alternatives and pick a selection algorithm 
that suits your needs. See the manual on 'allocate' for more details.

Chris

--

-- 
KDE 3.4: Conquer your Enterprise Desktop!  See http://www.kde.org!
(Continue reading)

Ralph Münch | 21 Apr 2005 17:05
Picon
Favicon

Re: A simple shift manager

 --- Chris Schlaeger <cs@...> wrote: 
Hi Chris,

Thanks, I got it to work how you said. 

But the problem is that we have no fixed working 
hours and all work on the same never ending task...
so it needs no selection algorithm for a task and 
should not have fixed start/end times because 
this varies from day to day and we do not know 
in advance when.

I.e. For Tom we have:
Mon, 25.04.2005: Early
Tue, 26.04.2005: Early
Wed, 27.04.2005: Medium
Thu, 28.04.2005: Late
Fri, 29.04.2005: Late

Can I do something like this?
resource 
 Tom "Tom Smith" 
  { Early 2005-04-25 
    Early 2005-04-26
    Medium 2005-04-27 
    Late 2005-04-28
    Late 2005-04-29 
   }

Best regards,
(Continue reading)

Chris Schlaeger | 21 Apr 2005 22:14
Picon

Re: A simple shift manager

On Thursday 21 April 2005 09:05, Ralph Münch wrote:
>  --- Chris Schlaeger <cs@...> wrote:
> Hi Chris,
>
> Thanks, I got it to work how you said.
>
> But the problem is that we have no fixed working
> hours and all work on the same never ending task...
> so it needs no selection algorithm for a task and
> should not have fixed start/end times because
> this varies from day to day and we do not know
> in advance when.
>
> I.e. For Tom we have:
> Mon, 25.04.2005: Early
> Tue, 26.04.2005: Early
> Wed, 27.04.2005: Medium
> Thu, 28.04.2005: Late
> Fri, 29.04.2005: Late

I assume Early, Medium and late are shifts. So you need to define them

shift Early "Early Shift" {
  mon 8:00 - 12:00
  tue 8:00 - 12:00
...
}
shift Medium "Medium" {
  mon 12:00 - 16:00
  tue ...
(Continue reading)

Ralph Münch | 22 Apr 2005 18:00
Picon
Favicon

Re: A simple shift manager

Hi Chris,

> resource Tom "Tom Smith" {
>   shift Early 2005-04-25 - 2005-04-27
>   shift Medium 2005-04-27
>   shift Late 2005-04-28 - 2005-04-30

Great. It works now. I even managed to 
work around people having overlapping 
shifts in a way.

Now all I have to do is to suppress 
the output of the "Date" and the "Time" 
in the resourcereport.

I.e. in the command:

macro shifttimes [
htmlresourcereport "ShiftTimes-${1}.html" {
	columns name, schedule
	start 2005-${1}
	end 2005-${2}
	headline "Staff Schedule for the week ${1}-2002 -
${2}-2002"
}
]

Is there any options I can pass with "schedule" so 
that only the day and the shift name appear in the 
html table (Not Date, Day, Times and Shift Name)?
(Continue reading)

Ralph Münch | 22 Apr 2005 18:00
Picon
Favicon

Re: A simple shift manager

Hi Chris,

> resource Tom "Tom Smith" {
>   shift Early 2005-04-25 - 2005-04-27
>   shift Medium 2005-04-27
>   shift Late 2005-04-28 - 2005-04-30

Great. It works now. I even managed to 
work around people having overlapping 
shifts in a way.

Now all I have to do is to suppress 
the output of the "Date" and the "Time" 
in the resourcereport.

I.e. in the command:

macro shifttimes [
htmlresourcereport "ShiftTimes-${1}.html" {
	columns name, schedule
	start 2005-${1}
	end 2005-${2}
	headline "Staff Schedule for the week ${1}-2002 -
${2}-2002"
}
]

Is there any options I can pass with "schedule" so 
that only the day and the shift name appear in the 
html table (Not Date, Day, Times and Shift Name)?
(Continue reading)

Chris Schlaeger | 22 Apr 2005 19:04
Picon

Re: A simple shift manager

On Friday 22 April 2005 10:00, Ralph Münch wrote:
> Is there any options I can pass with "schedule" so
> that only the day and the shift name appear in the
> html table (Not Date, Day, Times and Shift Name)?

You are probably looking for 'timeformat'.

Chris

Gmane