Jobs running multiples times after each deployment to the azure services #2348
Unanswered
hello2pankaj
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I am using Quartz.Extensions.Hostin 3.8.1 scheduling package in .netcore6 web api application. App deployment environment is azure appservice (2 instances). It works fine and as expected. Only issue i am facing is, after every deployment , the jobs are run 2-5 times in quick succession. The time difference between the runs ranges from few seconds to couple of minutes. After this very first trigger, other trigger happens at defined intervals properly. Below is my quartz config. Any idea.
For example, my job is scheduled to run at 1 hour interval. But immediately after deployment , it run 4 times (green) and then properly at 1 hour interval (yellow)
Version used
Quartz.Extensions.Hostin 3.8.1.
To Reproduce
Job1 class
Expected behavior
After deployment, Job either should run 1 time or not at all so that the next trigger fires it.
Additional context
I have tried with below configs
Beta Was this translation helpful? Give feedback.
All reactions