Sharepoint Timer Job - Which server does the job execute on?

OldBoy picture OldBoy · Nov 23, 2009 · Viewed 7.7k times · Source

If I install a (timer job) feature to a Sharepoint front end server within a farm, which server executes the job? All of them?

The job is locked at the job level, and the Execute method calls a web service on one specific machine on the farm, which handles all the processing. My question is whether all the front end servers will try and run this job?

Or network guys want to provide a new server in the farm, so that this job doesn't eat up the resources of the main server, but it sounds to me like we will duplicate the execution of the job.

Confused. Anyone know the answer to this question?

Answer

OldBoy picture OldBoy · Nov 23, 2009

The timer job can actually be deployed to a single instance (or to all of them if you like). This link provides a good answer:

Timer Job deployment via constructors