Introductory:
- Use Quartz.NET
- I have a job that needs to be done every minute. Those. the trigger will fire every minute, trigger the appropriate work and do something. There are cases when, in a given minute, the work does not have time to complete all its actions. In this case, two calls to a single trigger seem to overlap each other. In order to not work in parallel, the DisallowConcurrentExecution attribute is set on it (it prohibits parallel execution).
Behavior:
- At the beginning of the minute, the trigger wakes up and causes a specific job.
- In the work, preparatory actions are carried out and then we call an operation from it in the WCF service.
- This operation may take longer than a minute. Work all this time is waiting for the service to be executed.
- After the service is completed, the rest of the work continues.
Problem: Experimentally, we noticed that after the service call was made, an additional trigger was created immediately by the quartz itself, the TriggerKey of which begins with "MT_". What it is? Why is the new trigger itself created? When are MT_ triggers created? Why such triggers themselves are then deleted? I want to understand the nature of his appearance. Maybe we are doing something wrong at home.
Quartz.NETor in conjunction with something likeTopshelf? - Anton Komyshan