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

learn more… | top users | synonyms (1)

8
votes
2answers
805 views

Executing a new instance of a timer job before the previously running instance has finished executing

I have a timer job that invokes a WCF service that invokes a single threaded API internally. TO ensure that my system does not fail, i want to ensure that only a single instance runs at a time. I am ...
2
votes
2answers
255 views

Database migration problem

We have recently migrated our MOSS databases from MS SQL Express 2005 to MS SQL 2008 both intances running on the same Windows 2003 server. After "successful" migration we switched the 2005 server ...
2
votes
1answer
845 views

Best Practices for Deploying Timer jobs in Server Farm Environments with multiple WFE

i have a timer job which i want to run only once per day, for the entire farm. How do I Deploy it in a multiple WFE environment? Do I run the stsadm -o deploysolution command in every WFE, or just ...
1
vote
1answer
3k views

Delete timer jobs

I have a couple of timer jobs that I cant get rid of. I think they got created as a consequnce of creating a custom job. Also, if I use powershell Get-SPTimerJob then I get an exception. ...
0
votes
1answer
56 views

Performance Metrics and CA Configuration & Content DB?

When can we expect a maximum number of SQL connections for the Central Administration Configuration & Content DB? and what are all the important tables in these databases that an administrator ...
2
votes
3answers
516 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
850 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
96 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 ...