I have a 2 timerjobs which both have SPJobLockType
set to SPJobLockType.Job
to ensure they only run on 1 server and they run once every hour.
However they seem to be running twice with only 1 minutes difference. But the funny thing is that they do so for 4-5 hours and then for 2-3 hours they only run once as they are supposed to and then again 4-5 hours where they both run twice.
So my logs looks like this:
TimerJob1 - Executed: 02-04-2014 02:59 AM
TimerJob1 - Executed: 02-04-2014 03:00 AMTimerJob2 - Executed: 02-04-2014 02:59 AM
TimerJob2 - Executed: 02-04-2014 03:00 AM
I've checked the code. There is no logic in them that makes them trigger twice.
Any ideas?