For Programmers: Free Programming Magazines  


Home > Archive > Software Engineering > June 2006 > design patterns - scheduling









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author design patterns - scheduling
timasmith@hotmail.com

2006-06-28, 9:59 pm

Hi,

There must be many applications with scheduling functionality -
schedule processing, schedule resources, etc. Hell there should be
some enterprise design patterns around it.

So I would like to find something (open source ideally) that I can use
to manage this tricky piece of functionality - trickier if you consider
people in different timezones etc.

Anyone have success with a particular component or open source
scheduling project?

thanks

Tim

Oliver Wong

2006-06-28, 9:59 pm

<timasmith@hotmail.com> wrote in message
news:1151515684.749376.32490@i40g2000cwc.googlegroups.com...
>
> There must be many applications with scheduling functionality -
> schedule processing, schedule resources, etc. Hell there should be
> some enterprise design patterns around it.
>
> So I would like to find something (open source ideally) that I can use
> to manage this tricky piece of functionality - trickier if you consider
> people in different timezones etc.
>
> Anyone have success with a particular component or open source
> scheduling project?


The term "scheduling" in the context of computer programs is kind of
vague. Until you mentioned time zone, I was thinking along the lines of
scheduling processes to be executed on the CPU.

Are you basically looking for a shared calendar and some communication
tools? If so, google for "groupware" and you'll find lots of open source
projects.

Otherwise, you might have to be more specific on what kind of
functionality you mean. Many scheduling problems are actually NP-complete
(meaning no reasonable performance [non-quantum] computer algorithms are
known for solving them yet).

- Oliver

jhr

2006-06-28, 9:59 pm


timasmith@hotmail.com wrote:
> Hi,
>
> There must be many applications with scheduling functionality -
> schedule processing, schedule resources, etc. Hell there should be
> some enterprise design patterns around it.
>
> So I would like to find something (open source ideally) that I can use
> to manage this tricky piece of functionality - trickier if you consider
> people in different timezones etc.
>
> Anyone have success with a particular component or open source
> scheduling project?
>
> thanks
>
> Tim


try:
http://www.opensymphony.com/quartz/
I have not personally used it, but have looked at the code. It should
cover more then what you need.

But if you just want some basic functionality it wouldn't be hard to
write something around the java.util.Timer api.

J

timasmith@hotmail.com

2006-06-29, 7:59 am

Right, so the application needs a number of different capabilities.
Here are some examples

a) Value object stores start and stop date/time, frequency + times
e.g. Starting tomorrow 8.00am for a w 3 times per day at
10am,2pm and 6pm

Sending a date/time 'Scheduler' determines next scheduled date/time

b) Batch/operations scheduling. User schedules many reports and shell
scripts to be executed throughout the day, some dependent on another,
some wly, some once etc.

'Scheduler' determines every day when to wake up and execute a
report or script

c) Resouce scheduling. User defines a resource, hours of availability,
capacity and then schedules blocks of times - quite similar to
Microsoft Outlook or other multi user calendar and resource scheduling
programs.



Oliver Wong wrote:
> <timasmith@hotmail.com> wrote in message
> news:1151515684.749376.32490@i40g2000cwc.googlegroups.com...
>
> The term "scheduling" in the context of computer programs is kind of
> vague. Until you mentioned time zone, I was thinking along the lines of
> scheduling processes to be executed on the CPU.
>
> Are you basically looking for a shared calendar and some communication
> tools? If so, google for "groupware" and you'll find lots of open source
> projects.
>
> Otherwise, you might have to be more specific on what kind of
> functionality you mean. Many scheduling problems are actually NP-complete
> (meaning no reasonable performance [non-quantum] computer algorithms are
> known for solving them yet).
>
> - Oliver


timasmith@hotmail.com

2006-06-29, 7:59 am

Excellent, I will take a look. Yes, I need much more than basic
functionality.

jhr wrote:
> timasmith@hotmail.com wrote:
>
> try:
> http://www.opensymphony.com/quartz/
> I have not personally used it, but have looked at the code. It should
> cover more then what you need.
>
> But if you just want some basic functionality it wouldn't be hard to
> write something around the java.util.Timer api.
>
> J


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com