SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create a custom timer job where feature is farm scoped and will run on a farm level, I am not able to find any decent tutorial that tells how to create a farm based custom timer job feature.

I am able to look at few Web Application based custom timer job features, but they look different, e.g. this one..

Web Application based Custom Timer Job Feature

In following Piece of code, what should I put instead of web application as I want my feature to run on a farm not a web application :S

public TaskLoggerJob (string jobName, SPWebApplication webApplication)
  : base (jobName, webApplication, null, SPJobLockType.ContentDatabase) {
  this.Title = "Task Logger";

there is another constructor I find but dunno how to use it

MSDN constructors I can use

What is Service and which one can I use ..

share|improve this question
up vote 2 down vote accepted

There is no farm level timer job. A custom timer job will only be installed on Web application/Site Collection level. So it's impossible to deploy a custom timer job definition on farm level.

Edit: But, you can have a custom timer job code which is deployed to the farm but it is installed/register on a Web Application level.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.