SharePoint Timer job not working after deploying wsp successfully

kevin picture kevin · Jul 9, 2012 · Viewed 10.5k times · Source

Hi I deployed SharePoint Timer Job wsp successfully using stsadm command tool and Central administration and it was deployed globally.

I can see it deployed in Central Administration -> System Settings -> Manage Farm solutions.

But I still can't see my timer job in Central Administration -> Monitoring -> Check Job Status.

So I can't set the schedule for my timer job and it is not working.

Do I need other steps to run my timer job?

Answer

Cuban Pete picture Cuban Pete · Jul 9, 2012

I can think of two possibilities

  1. Do you have provisioning code for your feature which actually loads the job into a SharePoint context?
  2. If you have created the provision code have you activated the feature (this isn't always automatic)

1. Provision Code

The provisioning code is added to the features event receiver (right click the feature in Visual Studio). You should end up with something similar to the code at the following location SharePoint 2010 Custom Timer Job

2. Activated Feature

I believe timer jobs can be activated at two scopes in SharePoint (maybe more with services). If your timer job feature was scoped to the "Farm" level, then check that it is active within central administration at http://<Central Admin URL>/_admin/ManageFarmFeatures.aspx

If the timer job feature was scoped to the "Web Application" level, then check that it is active within central administration at http://<Central Admin URL>/_admin/WebApplicationList.aspx, then select the target web application and click on "Manage Features" on the ribbon.