Job running with old instance of code #2359
Unanswered
hello2pankaj
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using Quartz.Extensions.Hostin 3.8.1 scheduling package in .netcore6 web api application. App deployment environment is azure appservice (running on 2 instances). I have below quartz config for 4 jobs.
Let say job1 calls instance of LogicClass which has method "Process(bool CalledByJob)". It is called by Job1 class something like below.
LogicClass's process method has code to log saying "Processing start. CalledByJob={calledbyJob}"
So when the job starts, i can see the log happening which is expected.
However , when i was done with testing, i removed the part "CalledByJob={calledbyJob}" from the log. The log now only said "Processing start".
The issue i am seeing is that after deployment of the code (i.e without CalledByJob log), some job run is showing it (i.e. "calledByJob=true") in the log and some not. I tried restarting the azure app service and Purging the azure front door cache. no luck though.
Can anyone please guide me why this is happening and what's the solution.
Beta Was this translation helpful? Give feedback.
All reactions