am facing an issue in the timer jobs of my sp farm. From last 2 days, my env. timer jobs are running TWICE. Irrespective of whether its default- OOTB timer jobs or my custom timer jobs, all are running TWICE.
What may be the reason for this weird behavior? because of this multiple running of my custom timer jobs, the functionality of my appln , breaks.
Like, am having 3 timer jobs thats sending emails whenever one business rule satisfies from my site's lists/doc.libs. if I assume, there may be an error in my code,whats the reason for the existing OOTB timer jobs thats running in this farm, also executing TWICE. so that shows, this must be something else, not only related with my custom code, but some other factor.
OOTB TIMERJOBS are running twice:
Since its running two times, e-mails are sending to targeted audience 2 times and it causes a big confusion and unable to perform next steps.
When I debugged my custom timer job soln, I analyzed that the Execute() triggers TWICE.Has anyone faced this issue before . if yes,any solutions for this?
Recently, one major activity I have done is, i have taken the backup of the content db of my site and site collec. back up as well and restored to a new web application altogether.
Before this, i have upgraded my single server farm to SP1 with APRIL 2017 CU. My env is one single server with SP 2013 SP1 with APRIL 2017 CU and SQL Server 2012 SP2 is installed on the SAME SERVER and workflow manager as well. Also, all the custom timer jobs created [ 4 wsps] were deployed globally with WebApplication as the scope
I am having multiple contentDBs attached to this web application where the custom timer job is deployed.