Author Topic: Modeling scheduled tasks  (Read 13859 times)

AntonS

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Modeling scheduled tasks
« on: July 01, 2010, 06:41:19 pm »
Hi

Does someone have a good way of modeling scheduled tasks?
I was thinking of using swim lanes but that only gives me columns and not a grid like Microsoft Outlook Calendar with its grid view of tasks.
How would you model tasks scheduled that run:
•      every 30 min
•      only on weekdays
•      only on the 1st of the month
•      only in business hours
•      starts at 09h15
•      etc.

Any ideas would be appreciated.
Anton

son-of-sargasso

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Re: Modeling scheduled tasks
« Reply #1 on: July 01, 2010, 06:55:40 pm »
At the risk of ...

Are you trying to model the "tasks" or the "schedules".  But then again, perhaps you are trying to model that "something happens when something else happens".  Which gets us into a whole realm of "causality" upon which, unfortunately (IMHO) OMG has the following to say:
.


Anyway, good luck.
b

(mod: speellink corrunktions onluy)
« Last Edit: July 01, 2010, 06:57:30 pm by barrydrive »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +564/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Modeling scheduled tasks
« Reply #2 on: July 01, 2010, 07:27:50 pm »
Anton,

As bruce said, you'll have to give more info on which level you are trying to model things.
On a use case level I've used a "Time" actor before to indicate that a certain use case is triggerd by a time event.

Geert

AntonS

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Modeling scheduled tasks
« Reply #3 on: July 01, 2010, 07:59:38 pm »
Hi

I am trying to model "something happens when something else happens"

Any suggestions
Anton

son-of-sargasso

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Re: Modeling scheduled tasks
« Reply #4 on: July 01, 2010, 09:23:58 pm »
Cool bananas!  So, let's talk about these "something else"s.  I presume that your system knows nowt else but that they "happen".

In other words, the "clock-thing" may go "bong" or "ping" or "tweedley-deee" on (as far as your system is concerned) an entirely unpredictable basis, somewhere between every nanosecond and every millenium (or so).

Hmm, sounds like these "clock things" are "external" perturbations of the status quo, as far as the system is concerned....


Are you with me yet?
b

AntonS

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Modeling scheduled tasks
« Reply #5 on: July 01, 2010, 09:33:27 pm »
Yes, the timing is external to the system, it is more like batch jobs that could influence each other and the overall system performance.

Anton

son-of-sargasso

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Re: Modeling scheduled tasks
« Reply #6 on: July 01, 2010, 09:36:52 pm »
"batch jobs that could influence each other"
how?
b

starting to smell herrings here...

(where's that canadian state machine expert now that we need him)
« Last Edit: July 01, 2010, 09:39:05 pm by barrydrive »

AntonS

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Modeling scheduled tasks
« Reply #7 on: July 01, 2010, 09:42:39 pm »
One batch job is responsible for inserting data by processing files while the other one wants to finalize the cutoff for a billrun.

Anton

son-of-sargasso

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Re: Modeling scheduled tasks
« Reply #8 on: July 01, 2010, 10:09:38 pm »
So this has got nothing to do with whether the clock is saying "tick" or "tock" whatsoever???

Anyway, dad says that I'm getting too excited again and that it's time for bed, so I'll catch you later.

b