Y
Y
Yuri2017-11-05 12:52:31
Programming
Yuri, 2017-11-05 12:52:31

Designing and developing a task scheduler?

Good afternoon! In order for you to understand what I mean, I will give as an example the standard Winodows OS scheduler, in which you can specify what actions should be performed and at what time. Actions can be something like this: launching programs (with or without arguments), following a URL, a simple text message, shutting down the computer, and so on.
In the task plan, I will present a certain interface, for example, ITask, which has a Start method, and all these TaskProcessStart, TaskMsgBox, etc. inherit from it. Okay, but they can all contain a different number of parameters of different types (like the text of a message in MsgBox). What is the best way to organize all this? What is the best way to associate the object model with the GUI? I mean patterns, common practices, etc. The architects that I write usually do not "live" for long, since I myself am already confused in this sea of ​​\u200b\u200bcode and can not always modify it in the process.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kuznetsov, 2017-11-05
@ExperementalField

You looked at Quartz. Net? It has open source code. Pretty good sheduler. Even for study.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question