A timer job runs in a specific Windows service for SharePoint Server to automate common SharePoint tasks.

learn more… | top users | synonyms (1)

2
votes
3answers
489 views

What decides which machine a Timer Job is run on?

What decides which machine a Timer Job is run on for jobs that have a lock of type JobLockType.Job? Is it completely random?
4
votes
4answers
2k views

What techniques do you use to debug/test your SharePoint Timer Jobs?

I have developed a number of SharePoint Timer Jobs and they are always a bit more painful to debug and test than other areas of SharePoint. I was wondering what tools/techniques other people use to ...
5
votes
3answers
734 views

What happens to executing Timer Jobs when the Timer Services is restarted?

What happens to executing Timer Jobs when the Timer Service is restarted? Does it abruptly abort any executing jobs? Is there an exception to catch (for example ThreadAbortException) in your timer ...
2
votes
1answer
94 views

Running code that creates a TimerJobDefinition outside of Central Admin

I have run into a problem several times now where I have developed a custom timer job, and I want my site collection administrators to manage the schedule of this job with a custom application page ...