I have created custom timer job and successfully deploy it into SP. I see this timer job and feature on the lists. Job is being called every 10 minutes with status "succeeded". Issue is that Execute method is not being called.
This is part of my code:
public override void Execute(Guid targetInstanceId)
{
System.IO.File.AppendAllText(@"C:\Temp\Timer.txt", "Copy Documents Timer Job Execute: " + DateTime.Now.ToString() + "\r\n");
}
I'm writing logs to Timer.txt file in constructor too, and constructor code is being executed. Question: Why Execute method is not being called? What I'm doing wrong?