I am working on an asp.net mvc-5 web application and have encountered a problem when using the Hangfire tool to run lengthy background jobs. the problem is that if the execution of the task exceeds 30 minutes, then the freeze will automatically initiate another task, so as a result I will get two identical tasks at the same time.
Now I have the following: -
- Asp.net MVC-5
- MIS-8
- Hangfire 1.4.6
- Windows Server 2012
Now I have identified a recurring shoot-out mission that will run every day at 5 p.m. The background task basically scans our network for servers and vms and updates the database, and the repeated task will send an email after completion. Repetitive work worked well when it was less than 30 minutes. But today, when our system is expanding, repetitive work is completed in 40 minutes instead of 22-25 minutes, as it was before. and I received 2 emails instead of one email (and the time between emails was about 30 minutes). Now I restart the task manually and noticed that the problem is as follows: -
" 30 , , , 2 . "
, 30 (, 29 ), , 30 , - - .
, hangfire , , , , sql, , . 30 ( 17:30), 2 , , 2 .
- , , , 30 ?