S
S
stcmd042362016-09-24 11:12:15
C++ / C#
stcmd04236, 2016-09-24 11:12:15

How to implement triggers?

Hello! As part of a small project, a big problem arose (well, for me, a big one). You need to implement a task scheduler (similar to the windows task scheduler). There are no problems with the data. Only here there is a misunderstanding at the expense of triggers. Are there any libraries or the like in .net? solutions or ways to implement triggers? How does this trigger actually work?
What I could think of is that there are two types of trigger: 1. By time. 2. By event.
For the second type of trigger i.e. an Observer is suitable for an event trigger. And for the first one, too, like Observer is suitable. In general, share your thoughts, advice please?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Gaydak, 2016-09-24
@stcmd04236

Once upon a time, they used such a thing www.quartz-scheduler.net and there seemed to be documentation, and it was possible to find a solution to problems in the Internet. although there were some troubles due to the fact that they were used not as a task scheduler) but as a terrible crutch for deferred execution of tasks on the server))))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question